MySQL Date

From: Date: Wed, 19 Mar 2003 13:19:01 +0000
Subject: MySQL Date
Groups: php.general 
Request: Send a blank email to php-general+get-140278@lists.php.net to get a copy of this message
Hi, I have a date stored in a table in my MySQL Database using a DATE type for the column. How can i compare the date in the table to today e.g. $today = mysql_result($result, $i, Booking_Date); if($today = *HELP*){ echo "you are booked today"; }else{ echo "you are free today"; } thanks for your help

« previous php.general (#140278) next »