Issue
I want execute three queries independently to get three different rows from the database and want return their result as a single array. I am doing this as in image but its not working:
I also try to use push method as you can see in the comments and that one also disappoint me. Need your kind help please.
Solution
Have you tried php method array_merge()
?
$array1 = array("color" => "red", 2, 4);
$array2 = array("a", "b", "color" => "green", "shape" => "trapezoid", 4);
$result = array_merge($array1, $array2);
Answered By - darjus
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.