You are here: 1 Form, 2 Actions? « PHP Programming Language « IT news, forums, messages
1 Form, 2 Actions?

Posted by Mark on 03/30/06 14:58

I have a lengthy form (i.e., many inputs) on my form.php page. What's
different about this form than many others I've created is that I want
the user to have a choice of submitting this form data to one of two
pages, choice1.php or choice2.php, both of which read $_POST data from
the form.

Obviously, a 'submit' button will send the user to the page specified by
the form's 'action=' setting, so I would have to employ some sort of
trick. But this is where I'm drawing a blank! What combination of PHP,
Javascript, and HTML would do the trick?

Thanks!
Mark

 

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

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