{"id":662,"date":"2012-12-14T10:03:13","date_gmt":"2012-12-14T10:03:13","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=662"},"modified":"2022-02-17T07:14:03","modified_gmt":"2022-02-17T07:14:03","slug":"array-of-sql-results","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/php\/memory\/arrays\/array-of-sql-results","title":{"rendered":"Array Of SQL Results"},"content":{"rendered":"<h4>\nCreating An Array Of All Results<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n$all_results = array(); \t\t\/\/Empty array to hold returned rows\r\nwhile ($row = @mysql_fetch_array($search_query))\r\n{\r\n\t$all_results[] = $row;\r\n}\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating An Array Of All Results $all_results = array(); \/\/Empty array to hold returned rows while ($row = @mysql_fetch_array($search_query)) { $all_results[] = $row; } &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-662","post","type-post","status-publish","format-standard","hentry","category-arrays"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=662"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/662\/revisions"}],"predecessor-version":[{"id":1401,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/662\/revisions\/1401"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}