forumnz Posted June 7, 2008 Share Posted June 7, 2008 <? $result = mysql_query("SELECT * FROM requests WHERE MONTH(acctime) = '06' ORDER BY id ASC"); ?> Thats the part that is having the trouble. Thanks, Sam. Link to comment https://forums.phpfreaks.com/topic/109171-whats-wrong-with-this-query/ Share on other sites More sharing options...
GingerRobot Posted June 7, 2008 Share Posted June 7, 2008 No idea. What happens? Add an or die statement: $result = mysql_query("SELECT * FROM requests WHERE MONTH(acctime) = '06' ORDER BY id ASC") or die(mysql_error()); What's the formate of acctime? Link to comment https://forums.phpfreaks.com/topic/109171-whats-wrong-with-this-query/#findComment-560041 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.