invalid foreach argument
Posted: Wed May 13, 2009 6:49 am
Hey Everyone,
First time user and poster.
Downloaded a joomla blog pluggin and received the following invalid foreach() statement:
I'm new to php, but I don't think an argument has been supplied?
Any suggestions?
First time user and poster.
Downloaded a joomla blog pluggin and received the following invalid foreach() statement:
The first few lines of code are as follows:Warning: Invalid argument supplied for foreach() in /home/fhlinux161/f/fluidtestsite.co.uk/user/htdocs/components/com_idoblog/assets/templates/idobloger/comment.php on line 2
Code: Select all
<?php
foreach ($this->comments as $comment)
}
?>
<a name="comment<?php echo $comment->id; ?>"></a><table cellpadding="0" cellspacing="0" border="0" width="100%" ><tr height="8"><td width="<?php echo $comment->indent; ?>"></td><td ><div style="margin:10px;"> Any suggestions?