Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php replace space with 20

//Replace space with %20 for url to understand
$new = str_replace(' ', '%20', $your_string);

//Alternate for URL use, use this
urlencode ( string $str )
 
PREVIOUS NEXT
Tagged: #php #replace #space
ADD COMMENT
Topic
Name
3+6 =