Compare the two pieces of code in your message again.  They are 
not identical.  (you have an extra ; )

On 4 Nov 2000, at 5:55, Shawn Honeychurch wrote:

> OK;
> 
> When I make the changes you mention I do succeed in logining in, but I just
> get dumped into the welcome screen.  This is the modified code.
> 
> $SCREEN = "" . ScreenURL("order_info") . "&;ACTION=CREATE_INVOICE";
> 
> I also tried modifying the code from the UPDATE_ITEM action, as below.
> 
> $ActionResults[] = "<A HREF=\"" . ScreenURL("order_info") .
> "&ACTION=CREATE_INVOICE\"></A>";
> 
> This logs me in but dumps me in the contents screen.
> 
> Any other thoughts?
> 
> Shawn
> 
> 
> ----- Original Message -----
> From: "Christie Walker" <[EMAIL PROTECTED]>
> To: "FreeTrade" <[EMAIL PROTECTED]>
> Sent: Friday, November 03, 2000 5:13 PM
> Subject: Re: [FreeTrade] Need help with $Screen command
> 
> 
> > Change &amp; to a real ampersand and get rid of the extra quote
> > at the end.  You probably don't need the beginning "". either but it
> > won't hurt anything.  Just look at examples in the code, there are
> > enough of them, such as this from UPDATE_ITEM, around line 93:
> > $ActionResults[] = "The item name you are trying to use has " .
> > "already been used: ".
> > "<A HREF=\"" . ScreenURL("admin_item") .
> > "&item=$id\">$inputName</A>.";
> >
> > And just to be sure we're talking about the same thing, "$Screen="
> > isn't really a command, what you are doing is setting a variable
> > called Screen equal to some value.  It's not really going to *do*
> > anything until you do something with that variable, like print it out
> > or navigate to that URL in this case.  The only time you would use
> > &amp; for an ampersand is when you are doing HTML and you
> > want to be sure an ampersand is displayed, and not used to print a
> > special character.  What you are doing in the code is setting a
> > variable in PHP, and in this case you are setting up a URL to either
> > create a link or navigate to so using &amp; just does not apply to
> > this.
> >
> >
> > On 4 Nov 2000, at 4:00, Shawn Honeychurch wrote:
> >
> > > Hi;
> > >
> > > I have been trying to get the $Screen= command to start the login
> process.
> > > It is usually used like this
> > > $SCREEN = "checkout_warning";
> > >
> > > How do I get it to work like this
> > >  $SCREEN = "" . ScreenURL("order_info") . "&amp;ACTION=CREATE_INVOICE"";
> > >
> > > Anu ideas?
> > >
> > > Shawn
> > >
> > >
> > >
> > >
> > > ------------------------------------------------------------
> > > 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]
> >
> 
> 
> 
> ------------------------------------------------------------
> 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