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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to