Remove 20 From String In Php

[Solved] Remove 20 From String In Php | Php - Code Explorer | yomemimo.com
Question : remove 20 from string in php

Answered by : alexander-gudmundsson

//Replace space with %20 for url to understand
$new = str_replace(' ', '%20', $your_string);
//Alternate for URL use, use this
urlencode ( string $str )

Source : | Last Update : Thu, 30 Jul 20

Answers related to remove 20 from string in php

Code Explorer Popular Question For Php