On Tue, 2003-08-12 at 23:18, michael ensor wrote:
> the following exercise returns a parse error at the } else { statement at
> the end of the script and for the life of me I cannot see why.... [ PHP4]
> ----------------------------------------------------------------------------
> ----------------------------------------------
> <snip code />
> if  ($Quantity) {
> 

I get the error here

>    $Quantity = abs$Quantity;
-----------------^^^^^^^^^^^^^

Is this syntax right? it doesn't look it to me... 

hth,

Matt
--
+---------------------------------+
|Matthew Macdonald-Wallace        |
|The Truth Will Set you Free      |
|http://www.truthisfreedom.org.uk/|
+---------------------------------+
No man in the world has more courage than the man who can stop after
eating one peanut. -- Channing Pollock

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to