RE: [PHP] Beaten!

From: Date: Wed, 16 Apr 2003 15:02:37 +0000
Subject: RE: [PHP] Beaten!
Groups: php.general 
Request: Send a blank email to php-general+get-144125@lists.php.net to get a copy of this message
> -----Original Message----- > From: Chris Knipe [mailto:savage@savage.za.org] > Sent: Wednesday, April 16, 2003 10:31 AM > Subject: [PHP] Beaten! > > The code has one again beaten me... Below follows a function inside a > class... > > if(!(checkDomain($value) || checkName($value))) { > $result .= ' > <font color="red">Error: bad MX name ' . > stripslashes($value) . '</font><br>\n'; > > Line 134 = $result .= ' .... > > I get a parse error on line 134 :( Parenthesis mis-match: if( !(checkDomain($value) || checkName($value) ) ) // where do I belong? {

« previous php.general (#144125) next »