Actually... you can't use explodo... but you could use explode...

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -----Original Message-----
> From: Asendorf, John [mailto:JAsendorf@;lcounty.com]
> Sent: Thursday, October 24, 2002 10:27 AM
> To: John Meyer; Php-Windows (E-mail)
> Subject: RE: [PHP-WIN] Date validation
> 
> 
> Actually, you could use explodo or split and reorder the pieces:
> 
> from the docs:
> 
> $date = "04/30/1973";  // Delimiters may be slash, dot, or hyphen
> list ($month, $day, $year) = split ('[/.-]', $date);
> echo "Month: $month; Day: $day; Year: $year<br>\n";
> 
> 
> 
> ---------------------
> John Asendorf - [EMAIL PROTECTED]
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
> 
> 
> > -----Original Message-----
> > From: John Meyer [mailto:johnmeyer_1978@;yahoo.com]
> > Sent: Thursday, October 24, 2002 10:24 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Date validation
> > 
> > 
> > I have a date coming in in the format (mm/dd/yyyy) that I 
> > need to insert
> > into a date column.  How do I modify this using regexps so 
> > that it will fit
> > in.
> > 
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to