Alright, here's my predicament.
I'm making an application using php and mySQL. I need to allow users to create tables in the database.
It would be easy enough I think if it were a set number of rows but they will need to create anywhere from 2 - 20 rows in the table.
My thinking is to use Javascript to get the number of rows from an input box to avoid reloading the page.
Right now I have this: http://maritime.nnjoi.com/admin.php?page=addtable
So they input the name of the table, then how many rows they need.
Right now the Javascript displays an alert to tell you what you inputed.
I need to be able to grab that value and use it to echo out a script that many amount of times.
a) is it possible to do without reloading the page
b) any ideas on the php to accomplish this?
Thanks.





