Welcome Guest, Not a member yet? Register   Sign In
can I return 2 sets of results from 2 different talbes from one function? if yes- how to?
#6

[eluser]zoreli[/eluser]
Hi

In my view I placed this code:

var_dump($search_results_returned);

and I get this:

array(4) { ["post_q_1_empty"]=> bool(true) ["post_q_1_full"]=> bool(false) ["post_q_2_empty"]=> bool(false) ["post_q_2_full"]=> array(1) { [0]=> array(7) { ["user_id"]=> string(2) "34" ["user_name"]=> string(4) "John" ["user_username"]=> string(6) "z0reli" ["user_image_filename"]=> string(13) "z0reli_32.png" ["user_first_name"]=> NULL ["user_last_name"]=> NULL ["user_email"]=> string(20) "[email protected]" } } }

Data that I am getting is correct, I have to fix my view.

Thanks for the help.

Zoreli


Messages In This Thread
can I return 2 sets of results from 2 different talbes from one function? if yes- how to? - by El Forum - 06-19-2012, 10:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB