- Jul 30, 2001
- 515
- 0
- 0
I want to do some simple stuff, just entering some data into a database. I am using phpmyadmin provided for by my hosting company.
I am using the following line.
INSERT INTO USERS (First Name) VALUE ('Mal');
I am positive everything is spelled correctly, I do in fact have a field called First name. But it keeps on giving me an error message, and the message is vague just saying something about how there is an error near "Name." At first I thought it might be because field names can't have spaces, but I looked that up and that is not true. So I don't understand at all.
Also I am using TWANG to convert some excel sheets to SQL scripts. And I used one script that TWANG created for me, and it worked fine, but then this one (this one is actually apart of a much larger script), doesn't work. Can somebody give me a heads up as to what it might be.
P.S. I tried putting "First Name" in double quotes, single quotes, and as is. nothing works.
I am using the following line.
INSERT INTO USERS (First Name) VALUE ('Mal');
I am positive everything is spelled correctly, I do in fact have a field called First name. But it keeps on giving me an error message, and the message is vague just saying something about how there is an error near "Name." At first I thought it might be because field names can't have spaces, but I looked that up and that is not true. So I don't understand at all.
Also I am using TWANG to convert some excel sheets to SQL scripts. And I used one script that TWANG created for me, and it worked fine, but then this one (this one is actually apart of a much larger script), doesn't work. Can somebody give me a heads up as to what it might be.
P.S. I tried putting "First Name" in double quotes, single quotes, and as is. nothing works.