Sorry guys Im really new to this. I did searches on google and found lots of stuff on how to create a table in my sql. Im trying to create a table yet its not working and Im getting an error
it says my syntax is wrong somehow.. I tried many variants of the create table command, and its still not working.. I know most of you will probably look at this code and just think "is he retarded?". Im sorry for that lol.
Thanks in advance.
Last edited by XxLaSeRxX on Mon Jun 21, 2004 3:54 pm, edited 1 time in total.
No semicolon need in your query string. The type TEXT doesn't have any options, like length. The type INT is ok but you may consider using TINYINT to save space.
uh.. you might want to check if any rows were returned.. the if just checks if mysql_query() succeded in running.. doesn't mean the table is used or not