+ 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

12th Feb 2018, 5:47 AM
Sheraz Ali
Sheraz Ali - avatar
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.
12th Feb 2018, 8:45 AM
Debasish Mukherjee
Debasish Mukherjee - avatar