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

Posted by Treefrog on 03/30/06 16:46

Kimmo Laine wrote:

> Set the action to page3.php which has only the following:
> <?php
> if(isset($_POST['submit1']))
> include('page1.php');
> else if(isset($_POST['submit2']))
> include('page2.php');
> ?>
>
> And in the form you naturally have
>
> <input type="submit" name="submit1" value="1">
> <input type="submit" name="submit2" value="2">

Which presumes thes destination "action" is on his server. I'd think
that just by the fact that he's wanting to do it this way, would
suggest that the target form is on another box?

 

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

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