<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 01:10:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Harry Roberts' Blog: Manipulating PHP arrays with SQL]]></title>
      <guid>http://www.phpdeveloper.org/news/10250</guid>
      <link>http://www.phpdeveloper.org/news/10250</link>
      <description><![CDATA[<p>
<i>Harry Roberts</i> has a <a href="http://codeb.us/manipulating-php-arrays-with-sql">quick post</a> to his blog today showing a method he's come up with to handle PHP arrays from inside of SQL statements (a port of the JsonSQL library to PHP).
</p>
<blockquote>
Trent Richardson created a very small and simple JsonSQL library for JavaScript which allows you to run an extremely limited subset of SQL against a Json array/object. I quickly ported it over to PHP 5 and it works like a charm, although the syntax for the WHERE clause isn't exactly the same but the rest ported across properly.
</blockquote>
<p>
He's included some sample source code of it in action - selecting information out of an array of user information, once changing their order and the other grabbing a username. Complete source for the library is included too.
</p>]]></description>
      <pubDate>Thu, 22 May 2008 14:39:54 -0500</pubDate>
    </item>
  </channel>
</rss>
