file delimited

From: Date: Sun, 23 Nov 2003 00:57:07 +0000
Subject: file delimited
Groups: php.general 
Request: Send a blank email to php-general+get-170795@lists.php.net to get a copy of this message
Hi, I'm new to php I just come from perl, and I wanted to know like perl if we can open a file and read delimited line just like the cvs function, but I don't want comma separated, i want the vertical bar '|'. also if we read that file can the 'column' go in an array like perl i.e if we have a record Name|Phone|address|age|email can we put it into an array like $record[] and say $record[0] is Name, $record[1] is Phone etc.... Any help is well appreciated.

« previous php.general (#170795) next »