Reply to Re: Button-hyperlink and PHP variables.

Your name:

Reply:


Posted by Wayne on 07/08/05 23:38

On 8 Jul 2005 12:41:12 -0700, opt_inf_env@yahoo.com wrote:

>Hello,
>
>anybody know why the following button
>
><form action="newpage.php?id=3">
><input type="submit" value="Cancel">
></form>
>
>loads "newpage.php?" (not "newpage.php?id=3")?

Some browsers do not support url parameters in form actions -- I think
it's officially not supposed to.

You're supposed to do this instead:

<form action="newpage.php">
<input type="hidden" name="id" value="3">
<input type="submit" value="Cancel">
</form>

[Back to original 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

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