note 46015 deleted from function.split by tularis

From: Date: Sun, 26 Sep 2004 21:46:17 +0000
Subject: note 46015 deleted from function.split by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77415@lists.php.net to get a copy of this message
Note Submitter: Grindlay (grindlay at verinote dot com) ---- To split (for example) the output from a <textarea> in an HTML form into separate variables at newlines: $a = split ("\\n", $the_text); didn't work for me. It just split the text at the character 'n'. $a = split ("\r\n", $the_text); did it for me.

« previous php.notes (#77415) next »