Category: PHP5
Added: 27th of November 2015
Viewed: 2267 times
If you ever need to pass an ampersand through a query string in your URL and echo the result at the other end using PHP, you need to use the urlencode and urldecode function in your scripts.
If you don't add the urlencode or urldecode function then only the first part of the variable will be sent and anything after the & will be removed from the result.
Other Tips & Tutorials
PHP5
Get the day of the week for a specified date using PHP5Posted: 17th of January 2016
Views: 1855
PHP5
Count the number of elements in a PHP array using the count() functionPosted: 15th of December 2015
Views: 963
PHP5
Pass ampersand through query strings in URL using PHP5Posted: 27th of November 2015
Views: 2267