> I have searched the php.net and don't know where to look for the code I > need. I have a MySQL date column that reads this way: 2002-06-25. > However, > in PHP I want to show it this way 06/25/2002.
Do the formatting in your query. Use the MySQL function DATE_FORMAT(). Look it up in the MySQL manual, chapter 6: Date and Time Functions... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php