You are here: Re: [PHP] Simple question: $_POST « PHP « IT news, forums, messages
Re: [PHP] Simple question: $_POST

Posted by Bret Hughes on 01/15/05 20:34

On Fri, 2005-01-14 at 07:48, Stuart Felenstein wrote:
> When using $_POST vars is it required that a form is
> used ?
>
> In other words I can create an href link and echo
> variable and pick them up using $_GET in the following
> page.
>
> No so with $_POST ?

You could probably create hidden vars and on the href set the var values
and submit the form ( with form method defined as post of course).

You could create the javascript needed in a function built dynamically
setting the vars and simply call the function in the onclick method of
the href. I think you will have to return false from the function so
that the link won't try to go to nowhere.

Bret

 

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

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