Posted by Alan Little on 06/07/06 21:54
Carved in mystic runes upon the very living rock, the last words of i
love PHP of comp.lang.php make plain:
> i have table in the database that have these two information
>
> The_date (in type Date)
> The_time (type_time)
>
> what i need is simple if statement that compair the Server Time and
> date with this time and date .. and if the server time and date pass
> this time it will set value (X) to (false)
$dbTime = strtotime("$The_date $The_time");
if ($dbTime < time()) {
}
else {
}
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
[Back to original message]
|