Jump to content

Foreach Problem


servetas

Recommended Posts

  • Moderators

I cannot find any solution to this problem:

From the module:

$this->set('comment', xxxData::xxxSearch($icao));

From the template (xxx_searche.tpl):

<?php foreach($comment as $com) //This is line 14
{ ?>
<tr>
<td><?php echo $com->xxx; ?></td>

And in the end it gives me this error:

Warning: Invalid argument supplied for foreach() in C:\AppServ\www\fss\core\templates\xxx\xxx_searche.tpl on line 14

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...