Chaori Posted December 5, 2008 Share Posted December 5, 2008 I'm making an online text based game, as many replyers to my topics already know, and I'm having the same problem over and over with my scripts. They do not error, they do exactly what I tell them to do, BUT they do not enter anything into MySQL. I mean if I tell it to update a field it doesn't error, yet the variable isn't put into MySQL. Just wondering if anyone else has encountered this problem and how they managed to resolve it. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/135615-having-the-same-problem/ Share on other sites More sharing options...
chriscloyd Posted December 5, 2008 Share Posted December 5, 2008 code? Quote Link to comment https://forums.phpfreaks.com/topic/135615-having-the-same-problem/#findComment-706562 Share on other sites More sharing options...
balistic Posted December 5, 2008 Share Posted December 5, 2008 add error reporting to your queries, $result = mysql_query($query) or die("<b>A fatal MySQL error occured</b>.\n<br />Query: " . $query . "<br />\nError: (" . mysql_errno() . ") " . mysql_error()); Quote Link to comment https://forums.phpfreaks.com/topic/135615-having-the-same-problem/#findComment-706564 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.