/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function add_querystring_var($url, $key, $value) { return ($url . '?' . $key . '=' . $value); } else { return ($url . '&' . $key . '=' . $value); } } function remove_querystring_var($url, $key) { return ($url); }
URL: http://www.addedbytes.com/php/querystring-functions/