Forums

PHP

This topic is locked

remove URL parameter after update/insert

Posted 17 Sep 2002 05:35:06
1
has voted
17 Sep 2002 05:35:06 paul sulit posted:
hello,

how do i remove the URL parameter after a successful update on my mysql db? i opted to choose redirect to page.php after updating but it redirects to this URL:

page.php?modelID=x

will it be OK to remove the parameter? i guess yes coz theres no use for this variable already.

Edited by - bncph on 17 Sep 2002 05:36:05

Replies

Replied 17 Sep 2002 09:01:49
17 Sep 2002 09:01:49 Vince Baker replied:
If you want to get rid of the variable after an update set the link after update to page.php#.

By default ultradev keeps the url parameter in the url. If you add the # it gets rid of the param and you are right, you dont need it.

Regards
Vince

Response.write("The best line of code you can ever use"

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic