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



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

Reply via email to