plznty Posted May 31, 2009 Share Posted May 31, 2009 if ( $_GET['view'] == process ) { mysql_query("INSERT INTO users (id, username, password, money, current, rank, secretquestion, secretanswer) VALUES('', '$POST_[user]', '$POST_[pass]', '$POST_[cash]', '0' 'noob', '$POST_[question]','$POST_[answer]' ) ") or die(mysql_error()); echo "User Created!"; } Once i submit stuff it comes out as Column count doesn't match value count at row 1 Link to comment https://forums.phpfreaks.com/topic/160324-solved-php-inserting-sql/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.