Jump to content

help with query strings


bachx

Recommended Posts

Good day. I am creating some custom php forums right now, and I need some help with query strings.

 

In the forums, when someone edit his own post, I set the following query string:

"address.com/topic.php?t=123&control=edit"

 

Which opens a text area so that the user can edit his topic. Now when the user edit the topic and submit the form, the address stays:

"address.com/topic.php?t=123&control=edit"

 

But I want it to change back to:

"address.com/topic.php?t=123"

 

without the 'control=edit' part.

 

 

Hope I made myself clear. Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/42845-help-with-query-strings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.