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

Posted by Bosconian on 09/30/40 11:37

"Pedro Graca" <hexkid@dodgeit.com> wrote in message
news:slrndsqog4.h04.hexkid@ID-203069.user.individual.net...
> Bosconian wrote:
> > "johnny" <mr_one1999@yahoo.com> wrote in message
> > news:1137524462.091908.55470@g14g2000cwa.googlegroups.com...
> >> 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.
> >
> > Seems pretty straightforward and yes, PHP can handle everything
including
> > validation.
> >
> > I would simply have a form with a single input and submit button. Every
time
> > an entry is submitted, the page refreshes displaying the same form
followed
> > by the list of previously entered values. The form is always at the top
of
> > the page for convenience. You should also inform the user the table
creation
> > table was successful.
>
> Only now did I notice that johnny wants to create tables.
>
> johnny, unless you have a good reason to let users create tables:
> Don't do that.
> Don't allow users to create tables.
> Create all the tables you need before making your script available.
>
> --
> If you're posting through Google read <http://cfaj.freeshell.org/google>

I complete agree. I assume this was some sort of admin tool and not for
public consumption.

 

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

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