urlencode
urlencode
(PHP 4, PHP 5, PHP 7)
urlencode — URL-encodes string
Description
string urlencode ( string $str )
This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.
Parameters
-
str
-
The string to be encoded.