php-db | 2001041
Date: 04/11/01
- Next message: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Previous message: fabrizio.ermini <email protected>: "Re: [PHP-DB] DOH! Is it so obvious that i cannot figure it out?"
- Next in thread: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Reply: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Previous message: fabrizio.ermini <email protected>: "Re: [PHP-DB] DOH! Is it so obvious that i cannot figure it out?"
- Next in thread: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Reply: Darryl Friesen: "Re: [PHP-DB] Really Dumb Question..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

