problem with Mktime in SQL sentence
Posted by:
Yuri Ritvin
Date: September 29, 2009 11:38PM
hello all ,
i need to mix between SQL AND PHP , i need to check if the dates in the table the are between two dates that i have,
becuse this i need to use mktime to know this time in minutes
$query223 = mysql_query("
SELECT day As daylong,hour As hourlong,year As yearlong,mon As monlong,min As minlong,
(mktime(hourlong,minlong,0,monlong,daylong,yearlong)) As timed
FROM
Kings
WHERE Status='Win' && timed>123123123
") or die(mysql_error());
Subject
Written By
Posted
problem with Mktime in SQL sentence
September 29, 2009 11:38PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.