“PHP Zastąp miejsce na 20” Kod odpowiedzi

PHP Zastąp miejsce na 20

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

//Alternate for URL use, use this
urlencode ( string $str )
AlexKlug

ciąg PHP Zastąp przestrzeń

$journalName = preg_replace('/\s+/', '_', $journalName);
Blue Bison

Odpowiedzi podobne do “PHP Zastąp miejsce na 20”

Pytania podobne do “PHP Zastąp miejsce na 20”

Więcej pokrewnych odpowiedzi na “PHP Zastąp miejsce na 20” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu