RE: [PHP-DB] Re: Parse Error

From: Date: Fri, 28 Feb 2003 13:41:23 +0000
Subject: RE: [PHP-DB] Re: Parse Error
Groups: php.db 
Request: Send a blank email to php-db+get-25994@lists.php.net to get a copy of this message
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:atj81@csltda.com] Sent: Wednesday, February 26, 2003 10:15 PM To: php-db@lists.php.net 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

« previous php.db (#25994) next »