Thank you for helping [closed]

actually this is not good practice to insert the value in the database.
i recommend always use something like this.

$sqlQ="insert into users (tableField,tableField1) values ('$value','$value1')";

Note:never put auto increment field name OR value in the query.and always use prepared statements to avoid sql injection attack.given code is also vulnerable.if you do not know about prepared statement raise question or google it.

Leave a Comment