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]
|