You are here: Re: [PHP] Many forms in one php file « PHP « IT news, forums, messages
Re: [PHP] Many forms in one php file

Posted by Jochem Maas on 02/23/05 18:14

Jay Blanchard wrote:
> [snip]
> I want to create a single php file which will be able to display
> multiple html
> forms.
>
> Like this: Form1 -> Form2 -> Form3.
>
> After the user completes and submits Form1, the script will process it
> and
> display a different form. etc...
>
> I am new to php, I would need some detailed instructions, or point me to
> an
> opensource php script which already does that so that I can analyse it.
> [/snip]
>
> Google is your friend for tutorials and there are several examples of
> what you want to do web wide. Basically your form action(s) will be
> $PHP_SELF and you should use the POST method. Each form could be a case
> in a switch statement http://www.php.net/switch with each form button
> having an action. There are several good examples there

heh you've just turned him into an aspect programmer :-)

>

 

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

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