no man just make sure your sql statement actually gets results u want.. try running it directly on the database to see what you get.
If the sql statement is correct and all, then i suggest u try this. It is better practice not to select * from table, especially in joins because the issue of the column arrangement has a question mark. It is better to select only the column names that you specifically want and then that should make it really clear .
if the problem still persists tell me what u get exactly.
------------------
KaReEm