Re: Parse error: syntax error, unexpected ',' in
| From: | Mark Sargent | Date: | Wed, 24 May 2006 06:49:01 +0000 |
| Subject: | Re: Parse error: syntax error, unexpected ',' in | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236808@lists.php.net to get a copy of this message | ||
Chris wrote:
Since there aren't actually 18 lines this isn't the real code.. true, as I only posted the php code
The problem is here: echo $currentValue "<br>\n"; it should be echo $currentValue . "<br>\n"; or echo $currentValue , "<br>\n"; thanx to all. The book is Beginning PHP, Apache, MySQL, Web Development and it seems to only be a typo on that page(section) as the next page shows similar code using the right syntax. I just didn't notice it till after I posted. Cheers.Mark Sargent