Remove values from url using php -


i appending values url in order pass them next page using tag. want remove appended values once access them on next page without reloading page. there anyway in php? want display updated url in browser.

use parse_url() split url components , put components want form new url.

if want modify query string, call parse_str() on it, passing array second parameter, , modify array.


Comments

Popular posts from this blog

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -