PHP / SQL statement *RESOLVED*
Code:
if( !mysql_db_query($sDB, "INSERT $sTableName VALUES (
'$sUsername', 0,
'$sPassword', 1,
'$sE_Mail', 2,
'$sAge', 3,
'$sName', 4,
'$sCountry', 5,
'$sSex', 6,
'$sSecret_Question', 7,
'$sSecret_Answer', 8,
'$sState', 9,
'$iPID', 10
)"))
{
echo "Error # :";
echo mysql_errno();
echo "<br>";
echo mysql_error();
}
prints out:
Error # :1136
Column count doesn't match value count at row 1
There are 11 columns and 11 values being assigned to the columns...so what could be causing the mismatch error?!