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

Reply via email to