Jump to content

Recommended Posts

  • Moderators
Posted

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

  • Moderators
Posted

Yes i had already that on my code! Fortunately i found the solution after some hours ;) The problem was that i have not added anything on the database.

Sorry for that!!! :P

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...