Re: Book Sample Code Help

From: Date: Tue, 24 Jan 2006 14:05:36 +0000
Subject: Re: Book Sample Code Help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229163@lists.php.net to get a copy of this message
Please provide lines 89-91 of book-1.php only please.
humbug David :-) - turns out lines 89-91 will tell the OP nothing about the error because the its the definition of function getBlock() that is missing a closing brace (at around line 38) that si causing the error.
Thanks for the reply, it had really stumped me. I knew it would be an error with the bit I typed in :)
once you add the missing brace the script works (at least it dumped a load of content from http://www.techdeals.net/ onto my console). by helping you get your sample code working are per chance hepling into life yet another 'linkfarm' or some similarly SEO related nasty?
It's only sample code from a book. All of the examples are in Perl, except this particular code. I am new to PHP and wanted to try and run the code to see if it worked. Thank you. Poppy _________________________________________________________________ Buy now @ Tradingpost.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fad%2Eau%2Edoubleclick%2Enet%2Fclk%3B24875379%3B12369854%3Ba%3Fhttp%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%3Freferrer%3DnmsnHMetagv1&_t=752643439&_r=hotmailtagline&_m=EXT

« previous php.general (#229163) next »