$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/

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to