You are here: Re: posting variables from forms « PHP Programming Language « IT news, forums, messages
Re: posting variables from forms

Posted by Al on 01/20/06 04:27

> Why not put both methods in mynewpage.php and choose which one to use
> depending on which button is pressed?

Somewhere else might be a different site.

Having said that, if "somewhere else" can take GETs rather than POSTs,
you can direct all form traffic to one php file and see which submit
button name/value pair is activated and then either run the script if
it's "here" or do a header("Location: ") if it's the "somewhere else"
one... But that IS a little odd, and the javascript method is a little
smoother.

 

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

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