Answers for "php split separate two numbers"

PHP
1

php divide string into parts

$str = explode('=', 'Hello=World');
echo 'str[0] : ' . $str[0] . '<br'>;
echo 'str[1] : ' . $str[1] . '<br'>;

// printout : 
// str[0] : Hello
// str[1] : World
Posted by: Guest on January-02-2022
0

php split large text on line breaks into array

#1
$arr=explode("n",$text);

#2
$arr=explode("<br>",nl2br($text));
Posted by: Guest on April-21-2021

Code answers related to "php split separate two numbers"

Browse Popular Code Answers by Language