Date problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear friends.

I have a date field in mysql called event_end .

I want to run a query to find all records where the event_and is greater 
than today's date. I have written the following code. It does not work. 
Please point out the mistake.

$today = getdate();
 $sql="select * from events where event_end>'.$today.' order by event_start 
Asc ";


Thanks
denis 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux