Thanks JJ;
Got it working now.

Shawn
----- Original Message -----
From: "Shannon -jj Behrens" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 10:48 AM
Subject: Re: [FreeTrade] Question about Updating Items


> > Hi;
> > Uh, Hidden variable?  That could be why I can't find "variable" on
either
> > the "update_retailers" action module or in the "admin_retailers" screen.
>
> I cut and pasted the following from the admin_item screen:
>
> /* Start the form and the table that will organize it. */
> print(StartForm("admin_item", 'post', 'UPDATE_ITEM', FALSE,
>     array("item"=>$item)));
>
> Do you see the item variable.  It is used to created a hidden form
> variable (look at the HTML source).  Hence, $item is a variable that is
> available in the action module.  Really, this is just based on that fact
> that POST variables become PHP variables when you make a page hit.
>
> > When you say the "screen that does the update" do you mean as in the
> > "admin_items" screen?
>
> I figured you were calling it admin_retailers, or something similar.
>
> > When you say the "hidden variable is received by the action" do you mean
as
> > in the "update_item" action module?
>
> I figured you called it UPDATE_RETAILERS or something similar.
>
> Best Regards,
> -jj
>
> --
> if (shannon - jj) * behrens == webEngineer["CLEAR INK�"]:
>     print "<i>imagination is the only real medium(sm)</i><br>"
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to