<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Return array from MySQL query'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 14 Apr 2026 21:50:28 +0000</lastBuildDate>
    <item>
      <title>the_dev said on 09/Jul/2009</title>
      <link>https://snipplr.com/view/6703/return-array-from-mysql-query</link>
      <description>&lt;p&gt;You can return the results as an array with one line:  while($rows[] = mysql_fetch_assoc($result));   Then array_pop($rows) and finally return $rows;&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jul 2009 09:36:44 UTC</pubDate>
      <guid>https://snipplr.com/view/6703/return-array-from-mysql-query</guid>
    </item>
  </channel>
</rss>
