+ 2
Error with SQL query, How to solve?
When I run query so, output: "error" How to resolve? Note: "$sqlcon" is connection variable! connection is working fine! https://code.sololearn.com/wuzVtwAl9X01/?ref=app
1 Answer
+ 1
Have you checked that "MySQLi Procedural" is followed in connection.php as well.
If haven't mixed between procedural and object oriented then it should work.
https://www.w3schools.com/php/php_mysql_insert.asp
This works fine for me.