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
Post a Comment