
February 21st, 2000, 06:50 PM
|
|
Junior Member
|
|
Join Date: Feb 2000
Location: Milton, Ontario, Canada
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I am creating a GUI for a company for editing the database. The forms allow the user to input the amount of columns to be in the table as well as the table name. The next page brings up a form with as many text boxes as columns specified by the user. The problem comes in when I send this information to MySQL. I need to add the variables to the CREATE TABLE statement through another loop, but you can only have CREATE TABLE once. I figured a way to get around this was to create the table then loop the command to add a column at a time. Is there any way to add a column to a database?
|