Hello again ;-)
What is the correct syntax to use when inserting a value into a table that
contains a variable name with spaces.
This works
$query = "INSERT INTO Catalogue (Author) VALUES ('Stephen King')"
And this does not
$query = "INSERT INTO Catalogue (Book title) VALUES ('The Crow')"
Regards
Dynamo
What is the correct syntax to use when inserting a value into a table that
contains a variable name with spaces.
This works
$query = "INSERT INTO Catalogue (Author) VALUES ('Stephen King')"
And this does not
$query = "INSERT INTO Catalogue (Book title) VALUES ('The Crow')"
Regards
Dynamo
Comment