Welcome Guest, Not a member yet? Register   Sign In
Using JOIN error
#7

[eluser]Ochetski[/eluser]
You must take care with your tests:
Code:
echo print_r($query);
must be:
Code:
return $query;

And here $listar_category is a sql query resource, you must transform it with ->result() like this:

Code:
<?php foreach($listar_category->result() as $listar): ?>
<li><a href="#">&lt;?=$listar->personagem;?&gt;</a></li>
&lt;?php endforeach; ?&gt;


Messages In This Thread
Using JOIN error - by El Forum - 12-10-2010, 04:20 PM
Using JOIN error - by El Forum - 12-10-2010, 05:37 PM
Using JOIN error - by El Forum - 12-10-2010, 05:45 PM
Using JOIN error - by El Forum - 12-10-2010, 05:49 PM
Using JOIN error - by El Forum - 12-10-2010, 06:07 PM
Using JOIN error - by El Forum - 12-10-2010, 08:14 PM
Using JOIN error - by El Forum - 12-10-2010, 10:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB