> Don?t really want to bother you with these quickies - but: > > If i have a result from mysql that is a date (2002-02-09) - how do i change > that into a variable with only the first 7 characters (2002-02)? >
SELECT year(data), month (data) from table; Valentin Petruchek (aki Zliy Pes) *** Cut the beginning *** http://zliypes.com.ua mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php