note 30331 added to function.strstr
| From: | teezee at rack1 dot php dot net | Date: | Fri, 14 Mar 2003 09:08:57 +0000 |
| Subject: | note 30331 added to function.strstr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45291@lists.php.net to get a copy of this message | ||
//Checking and using the above string can be done much easier:
$data="ID: 1, Rolf Winterscheidt, and so on";
$data_array = explode(",",$data);
//will return an array:
$data[0] = ID: 1
$data[1] = Rolf Winterscheidt
$data[2] = and so on
--
http://www.php.net/manual/en/function.strstr.php
http://master.php.net/manage/user-notes.php?action=edit+30331
http://master.php.net/manage/user-notes.php?action=delete+30331
http://master.php.net/manage/user-notes.php?action=reject+30331