PhpxZ Posted July 2, 2010 Share Posted July 2, 2010 this is my line if (mysql_query('INSERT INTO `pendingchars` (`accid`,`charname`,`sex`,`age`,`pgmg`,`dmrktt`,`history`,`carcrashrp`,`carscrash`) VALUES ('. $_SESSION['Logged'] .',\''. $_POST['charname'] .'\','. $_POST['sex'] .'\','. $_POST['age'] .',\''. $_POST['pgmg'] .'\',\''. $_POST['dmrktt']. '\',\''. $_POST['history'] .'\',\''. $_POST['carcrashrp'] .'\',\''. $_POST['carscrash'] .'\')', $con)) { i get a mysql error I dont know why.. i just added the "sex" in it.. it's something with that. I have all the rows and lines in the Mysql Quote Link to comment https://forums.phpfreaks.com/topic/206476-mysql-error/ Share on other sites More sharing options...
fenway Posted July 2, 2010 Share Posted July 2, 2010 I have all the rows and lines in the Mysql I don't have any idea what that means. How about sharing the error and the actual query? Quote Link to comment https://forums.phpfreaks.com/topic/206476-mysql-error/#findComment-1080110 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.