Posted by johnny on 09/26/62 11:37
hi all,
I wonder if I could do the following task in PHP before searching for
javascript which I prefer not to have in my code:
I have a form to create new tables in a database and, since I can't
know how many columns needs each table, I want to load the page with a
single text field in the form and then with a button adding more
fields to the form if required.
so something like this:
text field
"add more fields" button
"submit" button
everytime the "add more fields" button is clicked the page reloads and
the form has another text field to enter the name of the table column.
Can be done with php instead of javascript ?
Thanks in advance for any tip
johnny
Navigation:
[Reply to this message]
|