-3
I’m having problems with SQL when making a small insertion in DB. I have a table with 4 fields:
id_match -> int
id_usuario1 -> int
id_usuario2 -> int
situation -> varchar(5)
When I do the following insert, it doesn’t enter the comic book:
INSERT INTO match VALUES(NULL, '$usuario1', '$usuario2', 'open')
What is wrong?
which error it presents ?
– wryel
@wryel Running on the application shows no error, but running on phpMyAdmin: "#1064 - You have an error in your SQL syntax; check the manual that Corresponds to your Mysql server version for the right syntax to use near 'match VALUES (null, '5', '0', 'open')' at line 1"
– GustavoSevero