2010-05-10, 11:05:53
simpledeconstruction Wrote:Hello NickC .... can you explain this further?
I am still a bit of a novice when it comes to PHP and I am receiving the same error message when debug mode is on. Thank you. Much appreciated!
Just a warning that I haven't tested it, but with a quick read through the source code it seems to make sense.
Change line 50 ( or near abouts ) from:
$outputlist .= '<ul id="serp_list">';
to:
$outputlist = '<ul id="serp_list">';
by removing the dot before the = sign.
'.=' is the concatenation assignment operator, e.g. $a .= $b means $a = $a . $b
If $a, or $outputlist, doesn't yet exist, $a . $b can't be done, which is what PHP is complaining about.
HTH,
Nick
My blog: http://www.nickcoleman.org/blog