[eluser]Xavier D.[/eluser]
I am having the same problem.
I am creating a pm box, I need to have the user_id, no problem, is stored in userdata session with authorization, but I also need to have the contact id and his details, that is the second query, how do we solve this whitout calling the model in te view?
So I have model that returns the user details (no problem), but I also need the contact id to get his details.
pm row stored in $data['pm_message'] contact id is insite ... multiple rows
[EDIT] problem solved, just make a join ... stupid mistake