save Date Number in PHP variable.
Posted
by
Denoteone
on Stack Overflow
See other posts from Stack Overflow
or by Denoteone
Published on 2010-12-22T15:49:53Z
Indexed on
2010/12/22
15:54 UTC
Read the original article
Hit count: 198
php
This question goes along with another one of my post that I already accepted
How do I get the "date number" in php
2010-08-24 20:00:00.000
I want to assign the current date number to a variable $current_date_num so I can use it in my query to compare what is already in the database.
$query ="SELECT * FROM Reservations WHERE [Room_ID] = '$field' AND [Meeting Start] > '$current_date_num' ORDER BY [Meeting Start] asc ";
© Stack Overflow or respective owner