From: [EMAIL PROTECTED]
Operating system: Windows 98 4.10 english
PHP version: 4.0.4
PHP Bug Type: Scripting Engine problem
Bug description: Parse error
Parse error: parse error, expecting `')''
in c:\site\home\news.php on line 21
Line 21: if(!empty($news->getField(url)))
Line 22: echo $news->getField(url);
What is wrong in this line?
I changed it to:
$thing=$news->getField(url);
if(!empty($thing))
echo $news->getField(url);
Now, it works fine. Weird...
--
Edit Bug report at: http://bugs.php.net/?id=10102&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]