How to create a nested JSON from two different MySQLi query?
Hello
I was able to create a simple JSON output from the single MySQLi query as below;
<?php
die(json_encode($myQuery->Results, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES));
?>
but now I am in a situation where I need to get output of nested JSON and I can't figure it out where I should put the other MySQLi query so that it can have
output of nested JSON data.
Pls help me to get out from this critical situation. Thanking you.