XMPP JavaScript Library

How to create Cake PHP like database multidimensional result set

PHP, Sachin Puri, 2014-06-12 00:52:21


for($row=0; $row<mysql_num_rows($res); $row++){
    for($i=0; $i<mysql_num_fields($res); $i++){
        $fieldName=mysql_field_name($res,$i);
        $tableName=mysql_field_table($res,$i);
        $result[$row][$tableName][$fieldName]=mysql_result($res,0,$i);
    }
}

 

Add Your Comment
   
    Yes! I want to receive all comments by email

  by DJ on 26-Jun-2019 11:09 am
You should mainly superior together with well-performing material, which means that see it: Kauai family photographers
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by seo on 25-Jun-2019 10:48 pm
I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. https://www.muzikland.sk/onycosolve/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Slotv888 on 25-Jun-2019 12:12 am
Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. Slotv888
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Anna Sally on 24-Jun-2019 10:43 pm
A great content material as well as great layout. Your website deserves all of the positive feedback it’s been getting. I will be back soon for further quality contents. Pistaches
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Saqib 12 on 24-Jun-2019 08:24 pm
Type your comment...Whenever I have some free time, I visit blogs to get some useful info. Today, I found your blog with the help of Google. Believe me; I found it one of the most informative blog. Noix de cajou
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Heather Rivera on 23-Jun-2019 08:44 pm
I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. https://www.itishome.in.th/papistop/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 23-Jun-2019 05:40 pm
There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. custom packaging boxes
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 23-Jun-2019 04:10 pm
During this website, you will see this shape, i highly recommend you learn this review. IMT Business School
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by shan on 23-Jun-2019 02:01 pm
Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck. myshapeit
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Hassan on 22-Jun-2019 08:42 pm
i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. teco
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Saqib 12 on 21-Jun-2019 12:24 am
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks smm panels list
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 20-Jun-2019 03:19 pm
It's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. Custom Vinyl Stickers
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Anna Sally on 19-Jun-2019 10:49 pm
Today, I was just browsing along and came upon your blog. Just wanted to say good blog and this article helped me a lot, due to which I have found exactly I was looking. http://www.sisteplast.com/greyhound-horse-racing-opening-extraordinary-mardi-gras-casino-magical-york-manatee-county-still/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 17-Jun-2019 01:20 pm
Really impressed! Everything is very open and very clear clarification of issues. It contains truly facts. Your website is very valuable. Thanks for sharing. BuzzAPK
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by voyance immediate on 16-Jun-2019 03:24 pm
Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. voyance immediate
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by voyance immediate on 16-Jun-2019 03:23 pm
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post voyance immediate
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 16-Jun-2019 03:07 pm
Its as if you had a great grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from more than one angle. rent a car muzaffarabad
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Khan on 15-Jun-2019 11:55 pm
Type your comment...I think this is one of the most significant information for me. And i’m glad reading your article. But should remark on some general things, The web site style is perfect, the articles is really great : D. Good job, cheers same day loans bad credit from UnitedFinances.com
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 15-Jun-2019 05:26 pm
So it is interesting and very good written and see what they think about other people. Dr. Vikas Goswami
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 15-Jun-2019 03:17 pm
I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. Event Management agency Iran
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Anna Sally on 12-Jun-2019 12:06 am
Wow, this is fascinating reading. I am glad I found this and got to read it. Great job on this content. I liked it a lot. Thanks for the great and unique info. voir l'information
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Toy on 09-Jun-2019 03:46 pm
I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work. https://sextoyuytin.com/
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 05-Jun-2019 01:17 am
Interestingly you write, I will address you'll find exciting and interesting things on similar topics. Serious Security Melbourne
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Hassan on 04-Jun-2019 11:32 am
Type your comment...There are lots of dissertation websites from the net dwell acquire unsurprisingly regarded from the internet websites. legitimate payday loans online from UnitedFinances.com
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 04-Jun-2019 07:49 am
Awesome dispatch! I am indeed getting apt to over this info, is truly neighborly my buddy. Likewise fantastic blog here among many of the costly info you acquire. Reserve up the beneficial process you are doing here. bespoke printed boxes
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 04-Jun-2019 12:13 am
I invite you to the page where see how much we have in common. Free Pure Forskolin Extract Weight Loss Pills Trial
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Anna Sally on 03-Jun-2019 03:10 pm
Type your comment...Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. Youtube Converter
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 03-Jun-2019 10:34 am
Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... Kraft Boxes
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by 안전토토 on 03-Jun-2019 12:04 am
Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking. 안전토토
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 01-Jun-2019 04:52 pm
Cool you inscribe, the info is really salubrious further fascinating, I'll give you a connect to my scene. Electrical Services Vero Beach Fl
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM on 31-May-2019 05:22 pm
Interesting and interesting information can be found on this topic here profile worth to see it. locksmith Layton
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by IBM on 31-May-2019 11:47 am
Amazing, this is great as you want to learn more, I invite to This is my page. Frisco garage door company
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by KATE on 31-May-2019 10:26 am
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. online wholesale suppliers
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 25-May-2019 03:28 pm
Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. bank nifty chart
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 24-May-2019 10:33 pm
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. locksmith Scottsdale
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 24-May-2019 04:59 pm
Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work! byrapogupavan
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 24-May-2019 03:51 pm
I most likely appreciating each and every bit of it. It is an incredible site and decent impart. I need to much obliged. Great employment! You all do an incredible blog, and have some extraordinary substance. Keep doing awesome. digital marketing las vegas
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by DJ on 22-May-2019 10:54 pm
I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. tubidy
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by noman on 18-May-2019 11:36 pm
I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details. profischnell
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Hassan on 15-May-2019 11:25 pm
Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. loans from UnitedFinances.com
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by dj on 15-May-2019 08:48 pm
I surely acquiring more difficulties from each surprisingly more little bit of it Live Streaming By Crictime
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by sohail khatri on 14-May-2019 06:10 pm
I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. www.vimax.pk
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Saqib 12 on 12-May-2019 01:01 am
Type your comment...Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. Commercial Cleaning Services
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by david villey on 05-May-2019 11:05 am
People who are tired of sitting around doing stupid and lazy stuff and being tired of having gained so much weight and now have made up their minds that they will now try and go on and lose weight by running having a proper diet for it Beginner Running Shoes Overweight
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by david villey on 05-May-2019 11:03 am
Want to buy Gmail Pva Account and can’t find a proper platform? Yes you are at right place.
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by david villey on 05-May-2019 11:01 am
this is realy nice to read it ,if any body want to buy any type of phone verified accounts visit here buy old twitter accounts
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Victoria Tegg on 26-Feb-2019 10:04 am
Type your comment...Thanks for sharing the movie chart with us. I have been using crackle. Nowadays I have started searching to some other options. There is a site onlinemoviespro .me that offers free movies without any ad or popup. I really like it and want to stick with it further
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Eve Hunt on 12-Feb-2019 11:25 am
I really appreciate this post. I¡¦ve been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thank you again
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by mywifiext.net login and password on 13-Dec-2018 03:14 pm
Thanks.
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by Manoj on 01-Jun-2015 12:36 pm
Nice one
  • Reply
  •  3 Like
  •  1 Dislike
  • Report
  by Arjun on 21-May-2015 09:54 pm
Thanks for the code
  • Reply
  •  1 Like
  •  1 Dislike
  • Report