Received: from 211.39.138.69 (211.39.138.69) 
	at KTMAIL with ESMTP Hanmir
	by hanmir.com;Thu, 05 Feb 2004 03:01:08 +0900
X-MsgID: 1075917668495241754.35.hanmir
Message-ID: <1075917668495241754.35.hanmir@hanmir.com>
X-RECEIVED-IP: 216.92.131.4
Received: (qmail 59940 invoked by uid 1010); 4 Feb 2004 18:00:24 -0000
Mailing-List: contact php-general-help@lists.php.net; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@lists.php.net>
list-unsubscribe: <mailto:php-general-unsubscribe@lists.php.net>
list-post: <mailto:php-general@lists.php.net>
Delivered-To: mailing list php-general@lists.php.net
Received: (qmail 59927 invoked by uid 1010); 4 Feb 2004 18:00:24 -0000
Delivered-To: ezmlm-scan-php-general@lists.php.net
Delivered-To: ezmlm-php-general@lists.php.net
Reply-To: <php-general@lists.php.net>
From: "Burhan Khalid" <phplist@meidomus.com>
To: "'Diana Castillo'" <diana@interhotel.com>,
	<php-general@lists.php.net>
Date: Wed, 4 Feb 2004 21:00:23 +0300
MIME-Version: 1.0
Content-Type: text/plain;
	charset="windows-1256"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <20040204165125.79790.qmail@pb1.pair.com>
Thread-Index: AcPrPzdQ7ay7eJgET2+O1J7Dsoqw+gACXOVQ
Y-Message-Id: <E1AoRJy-00072B-Hd@dell.kuwaitnet.net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - dell.kuwaitnet.net
X-AntiAbuse: Original Domain - lists.php.net
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - meidomus.com
Subject: RE: [PHP] explode separate lines

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

