Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

[PHP-DB] Really Dumb Question... From: Brian Grayless (bgrayless <email protected>)
Date: 04/11/01

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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>