note 50050 added to function.explode
| From: | tpm001<at>gmail" com | Date: | Wed, 16 Feb 2005 15:52:51 +0000 |
| Subject: | note 50050 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85114@lists.php.net to get a copy of this message | ||
ok, i want to explode this text file that contains many news articles, each article is stored like
this:
unixtime|username|title|shortstory|longstory||||
so, how do i open the text file, then explode it, and make each part a variable, e.g. unixtime,
username, etc.
what is the code for this?
(sorry im really bad at php)
??, Thanks, Tim
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50050
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50050&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50050&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50050&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50050&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50050&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50050&report=yes
Search -- http://master.php.net/manage/user-notes.php