ERROR: Could not be able to execute INSERT INTO taarifa (TAREHE,) VALUES. ('miiss'. You have an error in your SQL syntax; check
am trying to connect my html form tp my database but i got this error and here are the code <?php /* Attempt MySQL server connection. Assuming you are running MySQL server with default setting (user 'root' with no password) */ $mysqli = new mysqli("localhost", "root", "", "test"); // Check connection if($mysqli === false){ die("ERROR: Could not connect. " . $mysqli->connect_error); } // Escape user inputs for security $TAREHE = $mysqli->real_escape_string($_REQUEST['TAREHE']); // Attempt insert query execution $sql = ("INSERT INTO taarifa (TAREHE,) VALUES. ('$TAREHE'"); if($mysqli->query($sql) === true){ echo "Records inserted successfully."; } else{ echo "ERROR: Could not be able to execute $sql. " . $mysqli->error; } // Close connection $mysqli->close(); ?>