PDA

View Full Version : mysql help



Smilly00
March 26th, 2002, 07:56
when testing for a script i want this to create a table with 7 coloms 8 includeing the id. i want this to happen every time the script is run heres what i have. somthing is wrong with it but i cant see what


$query2 = 'CREATE TABLE table1 (id integer not null primary key auto_increment, tite text not null, comment text not null, email text not null, name text not null, date text not null, writer text not null, order text not null,)';

megapuzik
March 26th, 2002, 08:58
use the mysql_query()...


mysql_query($query2);