> You should really be storing your dates as datetime so you can take > advantage of the date sorting functions. But then you'd need to use > date() to format the string into yyyy-mm-dd format.
Thanks Jim. but how would i actually do that? I have studied the date() function in the manual - but can┤t find a way of inserting a set value from user input as a valid date. - D -- 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]