You are here: adding more fields to a form « PHP Programming Language « IT news, forums, messages
adding more fields to a form

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация