can I return 2 sets of results from 2 different talbes from one function? if yes- how to? |
[eluser]zoreli[/eluser]
Earlier in my view my check was the following: if(count($search_results_returned) == 0).... now that condition is not true, since when searching for user, count is not 0...how can I perform the check now having in mind that data I am getting is: 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]” } } } Any help will be deeply appreciaed, I am staring at this code over 14 hours now and start to loosing the ball here ... Regards,Zoreli |
Welcome Guest, Not a member yet? Register Sign In |