Hello,
I am getting resulted data from the mysql table like this.......
I want to store these values in a multi dimension array
Example
If I print like this $array['Games'][0] this should print values as "Family";
Similarly
If I print $array['Games'][1] it should print values as "Puzzle";
I am getting above result from the query by doing join multiple tables.
Pls let me know if anyone have idea about this.
Thank you
I am getting resulted data from the mysql table like this.......
Code:
CATEGORY SUB-CATEGORY Books ---- Business ---- Education ----- Games Family Games Puzzle Games Racing Healthcare ---------- Lifestyle ----------
Example
If I print like this $array['Games'][0] this should print values as "Family";
Similarly
If I print $array['Games'][1] it should print values as "Puzzle";
I am getting above result from the query by doing join multiple tables.
Pls let me know if anyone have idea about this.
Thank you
Comment