Actually this is incorrect also and will only result in another parse error
... you have (), which is fine, but then {)}, which doesn't make any sense
to the parser.
Regards,
Matthew Moldvan
---------------------------------------
System Administrator
Trilogy International, Inc
http://www.trilogyintl.com/ecommerce/
---------------------------------------
-----Original Message-----
From: Alejandro Trujillo J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 10:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: Parse Error
if ($packages == "1")
{
if ($airporttransfer == "car") {$airporttransfer2 = "12.00");}
if ($airporttransfer == "bus") {$airporttransfer2 = "10.00");}
if ($airporttransfer == "none"){$airporttransfer2 = "0.00");}
}
try to learn to use the TABS and the BRACES coz is good for you and for who
are reading the CODE.
--
Alejandro Trujillo J.
Cube Systems LTDA.
web : csltda.com
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php