Creating a table...name = string...
Posted 22 October 2003 - 06:48 PM
I think I have my query right (don\'t have it on me at the moment), but it has CREATE TABLE $table
I want it to CREATE TABLE with the table being called whatever $table is currently at...for instance if I was doing a while loop with a counter, create a table named 1, 2, 3, 4, etc.
Does SQL allow you to create a table while using a variable?
Could someone help? I\'m more than a little confused.
Posted 22 October 2003 - 08:26 PM
can you create empty tables?
Posted 22 October 2003 - 10:43 PM
But it won\'t let me create tables where the table name is a variable...for instance, $table.
Instead, it creates a table called \"$table\".
Do CREATE TABLE statements in PHP not allow variables to be used?
Posted 23 October 2003 - 12:32 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users