Re: Passing Variables



Mtek wrote:
<snip>>
I tried making the save routine an include and just calling that
function passing parameters. That seemed to work fine. But, if I
have a form on the page and need to call that function as my ACTION
item, can I do that?

Or, do I not need a form anymore, since to save I am just calling a
PHP function which is included, and everything on the page is
available to the entire script. So, I can pass them as parameters to
the include function without a form.....

Being a newbie I don't have the knowledge required to answer your precise
question but I do know that a form can use POST or GET as its method so why
don't you use GET as your method and collect the data from the URL?

Sorry I don't have the knowledge to help you beyond this point.

Paul


.



Relevant Pages

  • Re: Passing Variables
    ... function passing parameters. ... available to the entire script. ... Being a newbie I don't have the knowledge required to answer your precise ... transparent. ...
    (comp.lang.php)
  • Re: Passing Variables
    ... Mtek wrote: ... function passing parameters. ... precise question but I do know that a form can use POST or GET as ... transparent. ...
    (comp.lang.php)