RE: [PHP] explode separate lines

From: Date: Wed, 04 Feb 2004 18:00:23 +0000
Subject: RE: [PHP] explode separate lines
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-176826@lists.php.net to get a copy of this message
Diana Castillo wrote: > does anyone know how to do an explode where the separator is a > linefeed? > You could try explode("\n", $stuff);, but if you are wanting to read information from a file and store each line in an array, the file() function does exactly that. -- Burhan Khalid phplist[at]meidomus[dot]com

« previous php.general (#176826) next »