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 Anna Sally on 18-Feb-2019 11:57 pm
Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info. test répéteur wifi
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Hassan on 17-Feb-2019 12:29 am
Everything has its value. Thanks for sharing this informative information with us. GOOD works! do my essay
  • Reply
  •  0 Like
  •  0 Dislike
  • Report
  by Hassan on 13-Feb-2019 04:38 pm
Type your comment...Everything has its value. Thanks for sharing this informative information with us. GOOD works! buy pva accounts
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by james thomas on 13-Feb-2019 12:08 am
Because the old saying goes, inside of the specialist’s thoughts there are few scenarios, however Shoreline Amphitheatre tickets for an individual possessing a learner’s mind, the world is open up.
  • Reply
  •  1 Like
  •  1 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 Mike on 23-Jan-2019 03:15 pm
You have made a great article about creating cake PHP.I like reading the content which you have posted,you have made a great effort in making this post which is appreciable. heavy duty casters
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by James Crews on 09-Jan-2019 11:57 pm
  • Reply
  •  1 Like
  •  1 Dislike
  • Report
  by Mywifiext.net EX6200 Setup on 14-Dec-2018 11:07 am
Really interesting info, thanks for sharing. Mywifiext.net EX6200 Setup
  • 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 123 HP Printer Setup on 12-Dec-2018 04:05 pm
Great, thats an awesome read. You may check our website also 123 hp com envy 5088 123.hp.com/envy 5085 setup
  • 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