Really Dumb Question...
| From: | Brian Grayless | Date: | Wed, 11 Apr 2001 17:12:35 +0000 |
| Subject: | Really Dumb Question... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8492@lists.php.net to get a copy of this message | ||
How do I create a table within my PHP? Heres what I currently have, but I
keep getting parse error on the "create" line...
$result = mysql_query($sql);
create table $propTable (
ID int not null auto_increment primary key,
TourName tinytext,
TourTitle tinytext,
ViewTitle tinytext,
TourNum tinyint not null,
Applet tinyint not null,
Desc text,
TourPath text,
SmFile text,
LgFile text
);
Any thoughts??? I know this shouldn't be so complicated, but I'm lacking
sleep.
Thanks,
B R I A N G R A Y L E S S