<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 09:52:32 +0000</lastBuildDate>
    <item>
      <title>(PHP) PHP/MySQL - Get Table Data - kilrizzy</title>
      <link>https://snipplr.com/view/15464/phpmysql--get-table-data</link>
      <description>&lt;p&gt;Use this function to print out all the rows in a table. Specify columns to show using the columnstring parameter:&#13;
tablulardata(tablename, columnstring);&#13;
ie:&#13;
tabluardata("users","username=Username|fname=First Name|lname=Last Name");&lt;/p&gt;</description>
      <pubDate>Tue, 02 Jun 2009 14:28:39 UTC</pubDate>
      <guid>https://snipplr.com/view/15464/phpmysql--get-table-data</guid>
    </item>
    <item>
      <title>(PHP) PHP/MySQL - Get Row Data - kilrizzy</title>
      <link>https://snipplr.com/view/15462/phpmysql--get-row-data</link>
      <description>&lt;p&gt;Use this function to pull all columns from a single database field.&#13;
getrowdata(tablename,rowid,prefix);&#13;
&#13;
You would call this function like: &#13;
getrowdata("users",$_SESSION['user'],"user_");&#13;
&#13;
The prefix is the prefix you want for the array names, so if I have a field in my "users" table called "username", the example above would output the variable "$user_username = 'data';"&lt;/p&gt;</description>
      <pubDate>Tue, 02 Jun 2009 12:57:06 UTC</pubDate>
      <guid>https://snipplr.com/view/15462/phpmysql--get-row-data</guid>
    </item>
  </channel>
</rss>
