Tengo una tabla con un campo Delete, y cada vez que quiero insertar/modificar un registro desde PHP me da error. Como puedo hacerlo sin cambiar el nombre del campo? Hay alguna manera?.
Código PHP:
mysql_query("insert into user (Name,Password,Type,Delete) values ('$name','$pass','$type','$delete')",$conexion) or die ("Problemas en el insert".mysql_error());
resultado:
Cita: Problemas en el insertYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Delete) values ('Mario','901f4c89673926234826577ed0943d2e','0','1 ')' at line 1