RE: Re: Parse Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux