Re: sql question

From: Date: Tue, 03 Jun 2003 15:37:26 +0000
Subject: Re: sql question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149987@lists.php.net to get a copy of this message
That procedure it's call "validation" so i think you don't need compare, or query to bd any. Just validate if a $variable is a valid date in UnixFormat, i don't know how to do this, but google or someelse maybe know. regards. EF. "Diana Castillo" <diana@interhotel.com> escribió en el mensaje news:20030603141359.58434.qmail@pb1.pair.com... > If I have a date in unix format in a numeric field in my table (Mysql) and I > want to compare it to a date which is in unixformat also, will the query > work like this? > > "SELECT from tarifs where unix_from_date<=".$dateinunixformat > > >

« previous php.general (#149987) next »