At 17:13 25.02.2003, Denis L. Menezes said:
--------------------[snip]--------------------
>I have a date string in the format  yyyy-mm-dd  in the MySQL database.
>
>In my edit form I need to split this date string to get $Year as yyyy  ,  
>$month  as mm and $day as dd  .
--------------------[snip]-------------------- 

list($y,$m,$d) = explode('-',$date);


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



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

Reply via email to