I dont see anything wrong, but its not working :/
http://i.imgur.com/RBhYlTU.png
Printable View
I dont see anything wrong, but its not working :/
http://i.imgur.com/RBhYlTU.png
You know it would mean a whole lot if someone helped me. thanks.
The main issue is it seems you're trying to run 4 different queries at the same time.
You just want the CREATE TABLE bit then.
Well those are just comments.
you still need to add the gooey interface
....
Edited by Calum0812 (Forum Moderator): Please do not post pointlessly, thanks!
You run 4 queries
Code:CREATE TABLE CUSTOMER (
ID..........
............
..........
PHONE VARCHAR(20),
);
run that first
then run a few of those to input info into the dbCode:INSERT INTO CUSTOMER VALUES ('EXAMPLE EXAMPLE', 'EXAMPLE', 'NC', 111111111111);
then you can run
to view everything orCode:SELECT * FROM CUSTOMER;
to view a specific full name (use `field` or [field])Code:SELECT `FULL NAME` FROM CUSTOMER WHERE `FULL NAME` = 'Some Name';
Where are you running them?
How are you running the SQL?
Where are you entering it? Are you doing it through an SQL browser? Are you doing it in PHP? what..
You're executing them somewhere, where..
If you know they're failing there's obviously something that's saying the syntax is incorrect or some other error, what's giving this error, how do you know it won't work?
notepad is my fav coding program
i think it was used for coding the habbox.com website
What Scott is asking is that to run MySQL queries you've got to have a blank database set up. If you don't have one then having the queries in a text file will obviously do nothing. So question is: Do you have a database set up in which you'd run the queries?