Forum Moderators: coopster

Message Too Old, No Replies

how to query search at the time getdate()?

         

nanat

5:33 am on May 12, 2009 (gmt 0)

10+ Year Member



what is the right syntax of this statement?

SELECT t1.*,t2.* FROM files t1 inner join users t2 on t1.userid = t2.userID where t1.DocTitle like '%".$kword."%' where t1.effictivedate > getdate()

i want my date to expire when its due date at the same time i can search..

what is the right syntax for this?

tnx guys :D

nanat

1:42 am on May 14, 2009 (gmt 0)

10+ Year Member



i get it hehehe...

$result = mssql_query("SELECT t1.*,t2.* FROM files
t1 inner join users t2 on t1.userid = t2.userID
where t1.DocTitle like '%".$kword."%' and t1.effictivedate > getdate()");