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. Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.