<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Steve Reynolds Blog &#187; XML</title>
	<atom:link href="http://www.reynoldsftw.com/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reynoldsftw.com</link>
	<description>Being Generalist.</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:36:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>From MySQL to jQuery, via PHP, XML &amp; Ajax</title>
		<link>http://www.reynoldsftw.com/2009/09/from-mysql-to-jquery-via-php-xml-ajax/</link>
		<comments>http://www.reynoldsftw.com/2009/09/from-mysql-to-jquery-via-php-xml-ajax/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 15:53:49 +0000</pubDate>
		<dc:creator>Steve Reynolds</dc:creator>
				<category><![CDATA[Back to Basics]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.reynoldsftw.com/?p=1566</guid>
		<description><![CDATA[
			
				
			
		
Back in the early part of this year I posted an article around how to get MySQL data out of the database and into a web page via jQuery and Ajax. The tutorial was okay, but I made some rookie mistakes &#8211; specifically around the creation of XML data with PHP &#8211; This time, I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F09%2Ffrom-mysql-to-jquery-via-php-xml-ajax%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F09%2Ffrom-mysql-to-jquery-via-php-xml-ajax%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Back in the early part of this year I posted an article around how to get MySQL data out of the database and into a web page via jQuery and Ajax. The tutorial was okay, but I made some rookie mistakes &#8211; specifically around the creation of XML data with PHP &#8211; This time, I hope to rectify that!</p>
<p>So this article will focus on getting data from a database using PHP, converting that to an XML document, and reading that XML in through jQuery via Ajax calls. Seems complex, but is in fact, very easy.</p>
<h3>Database Design</h3>
<p>This tutorial assumes you know how to connect to your database. It also assumes that you have a table setup called &#8220;people&#8221; with 3 columns: &#8220;title&#8221;, &#8220;firstname&#8221; and &#8220;surname&#8221;. Please enter some data into this table as it will be required.</p>
<h3>The XML structure</h3>
<p>So, the point of this tutorial is to read some XML with an Ajax call from jQuery, therefore we need to structure our data correctly. Here is an example of the structure our XML document will generate:</p>
<p><span id="more-1566"></span></p>
<pre class="brush: xml;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;people&gt;
&lt;person&gt;
&lt;firstname title=&quot;Mr&quot;&gt;Steve&lt;/firstname&gt;
&lt;surname&gt;Reynolds&lt;/surname&gt;
&lt;/person&gt;
&lt;person&gt;
&lt;firstname title=&quot;Mr&quot;&gt;David&lt;/firstname&gt;
&lt;surname&gt;Grohl&lt;/surname&gt;
&lt;/person&gt;
&lt;/people&gt;</pre>
<p>I won&#8217;t go into anymore details other than that is what our PHP script will generate for us for each row entry in the database.</p>
<h3>The PHP</h3>
<p><img class="aligncenter size-full wp-image-960" title="php-xml" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/php-xml.png" alt="php-xml" width="301" height="79" /></p>
<p>First up, we&#8217;ll get the data from the database, and then iterate through each row result to generate the XML for that particular entry. We&#8217;ll do that by using the PHP function DOMDocument() which creates an XML document for us, and also allows us to add nodes and children to the XML on the fly.</p>
<pre class="brush: php;">$query = &quot;SELECT title,firstname,surname FROM people&quot;;
$result = mysql_query($query);

$doc = new DomDocument('1.0');

// create root node
$root = $doc-&gt;createElement('people');
$root = $doc-&gt;appendChild($root);

while($array = mysql_fetch_array($result)) {

	// add node for each row
	$occ = $doc-&gt;createElement('person');
	$occ = $root-&gt;appendChild($occ);

	$child = $doc-&gt;createElement('firstname');
	$child = $occ-&gt;appendChild($child);
	$child-&gt;setAttribute('title', $array['title']);
	$value = $doc-&gt;createTextNode($array['firstname']);
	$value = $child-&gt;appendChild($value);

	$child = $doc-&gt;createElement('surname');
	$child = $occ-&gt;appendChild($child);
	$value = $doc-&gt;createTextNode($array['surname']);
	$value = $child-&gt;appendChild($value);

}</pre>
<p>Next up we need to form that into an XML file. The way we do this is tell the PHP file to save the XML document with the saveXML() function, get the PHP script to respond with an XML type header, therefore anything that is echoed out will be interpreted by the browser as XML. So after the code above, add this:</p>
<pre class="brush: php;">$xml_string = $doc-&gt;saveXML();

header('Content-Type: application/xml; charset=ISO-8859-1');

echo $xml_string;</pre>
<p>So, the header part tells the browser that this is an XML content type, and the rest is simply echoing out the XML data structure as mentioned previously.</p>
<p>Hopefully now, when you run that PHP script you should return a valid XML document&#8230;</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-6415056921376217";
google_ad_channel = "in-ad-unit-hor";
google_ui_features = "rc:0";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "";
google_color_url = "0066CC";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
<h3>Ajax with jQuery</h3>
<p><img class="aligncenter size-full wp-image-961" title="xml-ajax" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/xml-ajax.png" alt="xml-ajax" width="312" height="73" /></p>
<p>The last piece to this puzzle is getting that XML data into an HTML page using jQuery and ajax. Again, it&#8217;s pretty easy to do, here is the basic HTML structure I am using for this tutorial:</p>
<pre class="brush: xml;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;The HTML&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.3.1.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;thejs.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;
&lt;input type=&quot;submit&quot; id=&quot;getData&quot; name=&quot;getData&quot; value=&quot;Get Data!&quot; /&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>You need to obviously include the jQuery library, I am also including an external javascript file for our jQuery code. So go ahead and create a javascript file called thejs.js and put the code below into it:</p>
<pre class="brush: jscript;">$(document).ready(function() {
$(&quot;#getData&quot;).click(function(){
var data = &quot;&quot;;
$.get(&quot;thephp.php&quot;, function(theXML){
$('person',theXML).each(function(i){

var title = $(this).find(&quot;firstname&quot;).attr(&quot;title&quot;);
var firstname = $(this).find(&quot;firstname&quot;).text();
var surname = $(this).find(&quot;surname&quot;).text();

data = data + title + &quot; &quot; + firstname + &quot; &quot; + surname + &quot;&lt;br&gt;&quot;;
});
$(&quot;#container&quot;).html(data);
});
});
});</pre>
<p>So this code is firstly wiring up a click event on a button, and then making a GET Ajax call to the PHP script we made earlier. Once it receives some XML data it iterates through each &#8220;person&#8221; node.</p>
<p>Notice, I am returning two different data sources from the XML, the data in between the &lt;firstname&gt; and &lt;surname&gt; tags, as well as also returning the data for an XML node attribute, in this case &#8220;title&#8221;. This doesn&#8217;t really make much sense in this context, but what it does show you is how you can access attribute information with the function.</p>
<h3>Download</h3>
<div id="attachment_86" class="wp-caption alignleft" style="width: 70px"><a href="http://www.reynoldsftw.com/wp-content/uploads/2009/09/php-xml-jquery-ajax.zip"><img class="size-full wp-image-86" title="Download Icon" src="http://www.reynoldsftw.com/wp-content/uploads/2009/01/drop-box-icon.png" alt="Download" width="60" height="60" /></a><p class="wp-caption-text">Download</p></div>
<p>So that&#8217;s it! You can see a <a href="http://demos.reynoldsftw.com/php-xml-jquery-ajax/theHTML.html" target="_blank">working demo of this here</a>. Download all the sourcecode by clicking the box icon on the left hand side. The code is fully working, you just need to add your database connection code to the PHP script. Feel free to leave feedback and comments in the section below!</p>
<h3>Tools to help you learn&#8230;</h3>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<thead></thead>
<tbody>
<tr>
<td width="33%" align="center" valign="top">
<div id="attachment_613" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847196705?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847196705"><img class="size-full wp-image-613" title="jquery13" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jquery13.jpg" alt="Learning jQuery 1.3" width="101" height="132" /></a><p class="wp-caption-text">Learning jQuery 1.3</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847196705" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_966" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/0672329166?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0672329166"><img class="size-full wp-image-966" title="phpmysql" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/phpmysql.jpeg" alt="PHP MySQL Development" width="101" height="132" /></a><p class="wp-caption-text">PHP MySQL Development</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=0672329166" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_612" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847195121?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847195121"><img class="size-full wp-image-612" title="jquery-ui" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jquery-ui.jpg" alt="jQuery UI 1.6" width="101" height="132" /></a><p class="wp-caption-text">jQuery UI 1.6</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847195121" border="0" alt="" width="1" height="1" /></td>
</tr>
</tbody>
</table>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F09%2Ffrom-mysql-to-jquery-via-php-xml-ajax%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F09%2Ffrom-mysql-to-jquery-via-php-xml-ajax%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.reynoldsftw.com/2009/09/from-mysql-to-jquery-via-php-xml-ajax/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Tutorial: From PHP to XML to jQuery and Ajax</title>
		<link>http://www.reynoldsftw.com/2009/03/tutorial-from-php-to-xml-to-jquery-and-ajax/</link>
		<comments>http://www.reynoldsftw.com/2009/03/tutorial-from-php-to-xml-to-jquery-and-ajax/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 13:03:31 +0000</pubDate>
		<dc:creator>Steve Reynolds</dc:creator>
				<category><![CDATA[Back to Basics]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.reynoldsftw.com/?p=957</guid>
		<description><![CDATA[
			
				
			
		
Please Note: This article has been updated and reposted here
Back To Basics
So this is the first of many new tutorials I hope to provide under the new banner of &#8220;Back to Basics&#8221;. I hope to be able to provide high level tutorials to the beginner enabling you to take away key learning to build on, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F03%2Ftutorial-from-php-to-xml-to-jquery-and-ajax%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F03%2Ftutorial-from-php-to-xml-to-jquery-and-ajax%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>Please Note</strong>: This article has been updated and <a href="http://www.reynoldsftw.com/2009/09/from-mysql-to-jquery-via-php-xml-ajax/">reposted here</a></p>
<h3>Back To Basics</h3>
<p>So this is the first of many new tutorials I hope to provide under the new banner of &#8220;Back to Basics&#8221;. I hope to be able to provide high level tutorials to the beginner enabling you to take away key learning to build on, rather than give you everything in depth on a plate. I hope you find this insightful.</p>
<p>So today&#8217;s article will focus on getting data from a database using PHP, converting that to an XML document, and reading that XML in through jQuery via Ajax calls. Seems complex, but is in fact, very easy.</p>
<h3>Database Design</h3>
<p>This tutorial assumes you know how to connect to your database. It also assumes that you have a table setup called &#8220;people&#8221; with 3 columns: &#8220;title&#8221;, &#8220;firstname&#8221; and &#8220;surname&#8221;. Please enter some data into this table as it will be required.</p>
<h3>The XML structure</h3>
<p>So, the point of this tutorial is to read some XML with an Ajax call from jQuery, therefore we need to structure our data correctly. Here is an example of the structure our XML document will generate:</p>
<p><span id="more-957"></span></p>
<pre class="brush: xml;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;people&gt;
&lt;person&gt;
&lt;firstname title=&quot;Mr&quot;&gt;Steve&lt;/firstname&gt;
&lt;surname&gt;Reynolds&lt;/surname&gt;
&lt;/person&gt;
&lt;person&gt;
&lt;firstname title=&quot;Mr&quot;&gt;David&lt;/firstname&gt;
&lt;surname&gt;Grohl&lt;/surname&gt;
&lt;/person&gt;
&lt;/people&gt;</pre>
<p>I won&#8217;t go into anymore details other than that is what our PHP script will generate for us for each row entry in the database.</p>
<h3>The PHP</h3>
<p><img class="aligncenter size-full wp-image-960" title="php-xml" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/php-xml.png" alt="php-xml" width="301" height="79" /></p>
<p>First up, we&#8217;ll get the data from the database, and then iterate through each row result to generate the XML for that particular entry. We&#8217;ll do that by creating a data variable and appending the new XML to it which we will use later. I have not included the database connection part to this, you need to do that part yourself.</p>
<pre class="brush: php;">$query = &quot;SELECT title,firstname,surname FROM people&quot;;
$result = mysql_query($query);

$xml = &quot;&quot;;

while($array = mysql_fetch_array($result)) {

$title = $array['title'];
$firstname = $array['firstname'];
$surname = $array['surname'];

$xml .= &quot;&lt;person&gt;&quot;;
$xml .= &quot;&lt;firstname title=\&quot;$title\&quot;&gt;$firstname&lt;/firstname&gt;&quot;;
$xml .= &quot;&lt;surname&gt;$surname&lt;/surname&gt;&quot;;
$xml .= &quot;&lt;/person&gt;&quot;;

}</pre>
<p>Next up we need to form that into an XML file. The way we do this is tell the PHP file to respond with an XML type header, therefore anything that is echoed out will be interpreted by the browser as XML. So after the code above, add this:</p>
<pre class="brush: php;">header('Content-Type: application/xml; charset=ISO-8859-1');
echo &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;UTF-8\&quot; standalone=\&quot;yes\&quot;?&gt;&quot;;
echo &quot;&lt;people&gt;&quot;;
echo $xml;
echo &quot;&lt;/people&gt;&quot;;</pre>
<p>So, the header part tells the browser that this is an XML content type, and the rest is simply echoing out the XML data structure as mentioned previously.</p>
<p>Hopefully now, when you run that PHP script you should return a valid XML document&#8230;</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-6415056921376217";
google_ad_channel = "in-ad-unit-hor";
google_ui_features = "rc:0";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "";
google_color_url = "0066CC";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center></p>
<h3>Ajax with jQuery</h3>
<p><img class="aligncenter size-full wp-image-961" title="xml-ajax" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/xml-ajax.png" alt="xml-ajax" width="312" height="73" /></p>
<p>The last piece to this puzzle is getting that XML data into an HTML page using jQuery and ajax. Again, it&#8217;s pretty easy to do, here is the basic HTML structure I am using for this tutorial:</p>
<pre class="brush: xml;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;The HTML&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.3.1.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;thejs.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;
&lt;input type=&quot;submit&quot; id=&quot;getData&quot; name=&quot;getData&quot; value=&quot;Get Data!&quot; /&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>You need to obviously include the jQuery library, I am also including an external javascript file for our jQuery code. So go ahead and create a javascript file called thejs.js and put the code below into it:</p>
<pre class="brush: jscript;">$(document).ready(function() {
$(&quot;#getData&quot;).click(function(){
var data = &quot;&quot;;
$.get(&quot;thephp.php&quot;, function(theXML){
$('person',theXML).each(function(i){

var title = $(this).find(&quot;firstname&quot;).attr(&quot;title&quot;);
var firstname = $(this).find(&quot;firstname&quot;).text();
var surname = $(this).find(&quot;surname&quot;).text();

data = data + title + &quot; &quot; + firstname + &quot; &quot; + surname + &quot;&lt;br&gt;&quot;;
});
$(&quot;#container&quot;).html(data);
});
});
});</pre>
<p>So this code is firstly wiring up a click event on a button, and then making a GET Ajax call to the PHP script we made earlier. Once it receives some XML data it iterates through each &#8220;person&#8221; node.</p>
<p>Notice, I am returning two different data sources from the XML, the data in between the &lt;firstname&gt; and &lt;surname&gt; tags, as well as also returning the data for an XML node attribute, in this case &#8220;title&#8221;. This doesn&#8217;t really make much sense in this context, but what it does show you is how you can access attribute information with the function.</p>
<h3>Download</h3>
<div id="attachment_86" class="wp-caption alignleft" style="width: 70px"><a href="http://www.reynoldsftw.com/wp-content/uploads/2009/03/php-to-xml-to-jquery.zip"><img class="size-full wp-image-86" title="Download Icon" src="http://www.reynoldsftw.com/wp-content/uploads/2009/01/drop-box-icon.png" alt="Download" width="60" height="60" /></a><p class="wp-caption-text">Download</p></div>
<p>So that&#8217;s it! You can see a <a href="http://demos.reynoldsftw.com/php-xml-jquery-ajax/theHTML.html" target="_blank">working demo of this here</a>. Download all the sourcecode by clicking the box icon on the left hand side. The code is fully working, you just need to add your database connection code to the PHP script. Feel free to leave feedback and comments in the section below!</p>
<h3>Tools to help you learn&#8230;</h3>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<thead></thead>
<tbody>
<tr>
<td width="33%" align="center" valign="top">
<div id="attachment_613" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847196705?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847196705"><img class="size-full wp-image-613" title="jquery13" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jquery13.jpg" alt="Learning jQuery 1.3" width="101" height="132" /></a><p class="wp-caption-text">Learning jQuery 1.3</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847196705" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_966" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/0672329166?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0672329166"><img class="size-full wp-image-966" title="phpmysql" src="http://www.reynoldsftw.com/wp-content/uploads/2009/03/phpmysql.jpeg" alt="PHP MySQL Development" width="101" height="132" /></a><p class="wp-caption-text">PHP MySQL Development</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=0672329166" border="0" alt="" width="1" height="1" /></td>
<td width="33%" align="center" valign="top">
<div id="attachment_612" class="wp-caption aligncenter" style="width: 111px"><a href="http://www.amazon.com/gp/product/1847195121?ie=UTF8&amp;tag=stereyblo-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1847195121"><img class="size-full wp-image-612" title="jquery-ui" src="http://www.reynoldsftw.com/wp-content/uploads/2009/02/jquery-ui.jpg" alt="jQuery UI 1.6" width="101" height="132" /></a><p class="wp-caption-text">jQuery UI 1.6</p></div>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=stereyblo-20&amp;l=as2&amp;o=1&amp;a=1847195121" border="0" alt="" width="1" height="1" /></td>
</tr>
</tbody>
</table>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F03%2Ftutorial-from-php-to-xml-to-jquery-and-ajax%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.reynoldsftw.com%2F2009%2F03%2Ftutorial-from-php-to-xml-to-jquery-and-ajax%2F&amp;source=SteveReynolds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.reynoldsftw.com/2009/03/tutorial-from-php-to-xml-to-jquery-and-ajax/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
	</channel>
</rss>

