leeming Posted July 19, 2006 Share Posted July 19, 2006 This does not work at all... when ran, it doesnt show an mysql_error(), so i dont know where im going wrong...for any one who wants to know what the query prints out..[quote]Error: Can not add user to new wait attacks! #F-1-002 ::debug:: ::query = INSERT INTO `users` (user_id) VALUES ('12')[/quote][code] $newAttSql = "INSERT INTO `users` (user_id) VALUES ('$user')"; $newAtt = mysql_query($newAttSql,$dbh) or die('Error: Can not add user to new wait attacks! #F-1-002 ::debug::'.mysql_error().' ::query = '.$newAttSql);[/code] Link to comment https://forums.phpfreaks.com/topic/15004-mysql_query-returning-false-on-insert-query-confused-s/ Share on other sites More sharing options...
redarrow Posted July 19, 2006 Share Posted July 19, 2006 please post more then that cheers. Link to comment https://forums.phpfreaks.com/topic/15004-mysql_query-returning-false-on-insert-query-confused-s/#findComment-60330 Share on other sites More sharing options...
leeming Posted July 19, 2006 Author Share Posted July 19, 2006 soory just another one where i totaly over look the small things, lol... sorry a lil tired... i had but the wrong table name... sorry Link to comment https://forums.phpfreaks.com/topic/15004-mysql_query-returning-false-on-insert-query-confused-s/#findComment-60331 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.