On Nov 16, 2004, at 2:46 PM, M. Sokolewicz wrote:
Afan Pasalic wrote:
Chris W. Parker wrote:please explain... WHY is that better?Yes.
$string = "$string1|$string2|$string3|$string4|$string5";
$string_back = explode("|", $string);
Ok, I'm going to change the code and use pipes :) Thanks to all of you.! -afan
[a bit of sarcasm, but somewhat true]
That's easy. | is only 1 character and \n is 2! Newlines are also used everywhere - pipe occurs less often.
[/a bit of sarcasm, but somewhat true]
Just a thought, ~Philip
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php