<?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 14:09:05 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ZetCode.com: PostgreSQL PHP Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/17918</guid>
      <link>http://www.phpdeveloper.org/news/17918</link>
      <description><![CDATA[<p>
On the ZetCode.com site there's a <a href="http://zetcode.com/db/postgresqlphp/">five part tutorial</a> posted about getting your PHP application up and running on a PostgreSQL database (updated on the 4th).
</p>
<blockquote>
This is a PHP tutorial for the PostgreSQL database. It covers the basics of PostgreSQL programming with PHP. The examples were created and tested on Linux. [...] PostgreSQL is a powerful, open source object-relational database system. It is a multi-user, multi-threaded database management system. It runs on multiple platforms including Linux, FreeBSD, Solaris, Microsoft Windows and Mac OS X. PostgreSQL is developed by the PostgreSQL Global Development Group.
</blockquote>
<p>The chapters guide you through every step you'll need:</p>
<ul>
<li><a href="http://zetcode.com/db/postgresqlphp/intro/">An introduction to PostgreSQL</a> and getting it and PHP support installed (with the php5-pgsql package)
<li>Example code showing how to <a href="http://zetcode.com/db/postgresqlphp/read/">extract data</a> from your tables
<li><a href="http://zetcode.com/db/postgresqlphp/images/">Working with images</a> and storing their data in a table
<li>Pulling out the <a href="http://zetcode.com/db/postgresqlphp/meta/">metadata from the database</a>, things like number of rows returned and table information
<li><a href="http://zetcode.com/db/postgresqlphp/trans/">Transactions</a> and database-side processing
</ul>]]></description>
      <pubDate>Mon, 07 May 2012 11:14:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Thilanka Kaushalya's Blog: How to use Mysql Transactions with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17701</guid>
      <link>http://www.phpdeveloper.org/news/17701</link>
      <description><![CDATA[<p>
In <a href="http://coders-view.blogspot.com/2012/03/how-to-use-mysql-transactions-with-php.html">this recent post</a> to his blog <i>Thilanka Kaushalya</i> shows how to use transactions in MySQL databases (using <a href="http://php.net/mysqli">mysqli</a>
</p>
<blockquote>
Web applications are more popular today than ever with the increasing number of internet users. Most of the standard alone applications converted as web based applications or at least they try to provide a web interface for users. PHP and Mysql are two leading technologies which allow uses on rapid development of web based systems. "Transaction" is a powerful concept which comes with Mysql 4.0 and above versions. Lets explore that.
</blockquote>
<p>
He introduces the concept of transactions first, providing an example of a bank transfer between two individuals. He uses this to create a simple code sample that turns off the autocommit for the connection (using <a href="http://php.net/mysqli_autocommit">mysqli_autocommit</a> set to false)  and running the SQL in order before the commit. He also includes an example of using the rollback function to return the data back to its original state if there's an error.
</p>]]></description>
      <pubDate>Tue, 20 Mar 2012 13:04:37 -0500</pubDate>
    </item>
  </channel>
</rss>
