Re: explode()
| From: | Brian White | Date: | Mon, 16 Jul 2001 23:17:29 +0000 |
| Subject: | Re: explode() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58146@lists.php.net to get a copy of this message | ||
$arr = explode("-",$row[5]); $reqmonth=$arr[1];
Well, it's all on one line.....
At 16:23 16/07/2001 -0700, Adam Plocher wrote:
$reqmonth = ${}[1]; Is there anyway I can get that to work without having to use multiple lines of code?------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bwhite@steptwo.com.au