<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WordPress ajax and $wpdb</title>
	<atom:link href="http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/feed/" rel="self" type="application/rss+xml" />
	<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/</link>
	<description>Tech projects from the corner of a suburban garage</description>
	<lastBuildDate>Tue, 22 Jun 2010 14:57:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Keighl</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-3894</link>
		<dc:creator>Keighl</dc:creator>
		<pubDate>Tue, 22 Jun 2010 14:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-3894</guid>
		<description>You are the best! This has been bugging me for hours.</description>
		<content:encoded><![CDATA[<p>You are the best! This has been bugging me for hours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-3542</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 23 May 2010 17:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-3542</guid>
		<description>Instead of creating a whole new database just create a table in the existing Wordpress database. Then all you will need is a customized page template with the drop down and the technique discussed in the article will work like a charm.</description>
		<content:encoded><![CDATA[<p>Instead of creating a whole new database just create a table in the existing WordPress database. Then all you will need is a customized page template with the drop down and the technique discussed in the article will work like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard C</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-3541</link>
		<dc:creator>Richard C</dc:creator>
		<pubDate>Sun, 23 May 2010 15:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-3541</guid>
		<description>I am currently running a website for my athletic club and I have created a separate database which will hold results. I wiuld like to go to a webpage and from a drop down box select the race and the results will be populated below on the same page. You dont need to be logged on as i want this available to everyone.. 

Its driving me crazy at the minute so I would appreciate any help

thanks</description>
		<content:encoded><![CDATA[<p>I am currently running a website for my athletic club and I have created a separate database which will hold results. I wiuld like to go to a webpage and from a drop down box select the race and the results will be populated below on the same page. You dont need to be logged on as i want this available to everyone.. </p>
<p>Its driving me crazy at the minute so I would appreciate any help</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-2144</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-2144</guid>
		<description>@Green C - all you have to do is include the core Wordpres files 

include_once(‘wp-config.php’);
include_once(‘wp-load.php’);
include_once(‘wp-includes/wp-db.php’);

at the top of your external script and then declare Global $wpdb and off you go.  I didn&#039;t ultimately use this technique, as mentioned in the aticle, so I can&#039;t vouch for it.

To see if it will work set up a php script, include the Wordpress core files, and then see if you can access  $wpdb by echoing a property to the page. Eg. 

echo $wpdb-&gt;prefix</description>
		<content:encoded><![CDATA[<p>@Green C &#8211; all you have to do is include the core Wordpres files </p>
<p>include_once(‘wp-config.php’);<br />
include_once(‘wp-load.php’);<br />
include_once(‘wp-includes/wp-db.php’);</p>
<p>at the top of your external script and then declare Global $wpdb and off you go.  I didn&#8217;t ultimately use this technique, as mentioned in the aticle, so I can&#8217;t vouch for it.</p>
<p>To see if it will work set up a php script, include the WordPress core files, and then see if you can access  $wpdb by echoing a property to the page. Eg. </p>
<p>echo $wpdb-&gt;prefix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Green C</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-2141</link>
		<dc:creator>Green C</dc:creator>
		<pubDate>Mon, 08 Feb 2010 12:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-2141</guid>
		<description>I am in the similar situation as you. I want to use $WPDB class outside Wordpress context in an external Ajax handling script. I need to transfer, using ajax, back and forth data as Json.Can you make your post more detailed, maybe give an example.Thx.</description>
		<content:encoded><![CDATA[<p>I am in the similar situation as you. I want to use $WPDB class outside WordPress context in an external Ajax handling script. I need to transfer, using ajax, back and forth data as Json.Can you make your post more detailed, maybe give an example.Thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-2085</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 02 Feb 2010 12:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-2085</guid>
		<description>I&#039;m not sure I understand the question. To implement new ajax functionality you will have to write some code and hook it to Wordpres. The plugin mechanism is the way to do that.

Ajax is simply a technique of getting or sending data from or to the server without reloading the page. Wordpress itself is chock full of ajax functionality. 

The only way I am aware to add custom functionality to Wordpress, ajax or otherwise, is by modifying a theme or writing a plugin.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I understand the question. To implement new ajax functionality you will have to write some code and hook it to Wordpres. The plugin mechanism is the way to do that.</p>
<p>Ajax is simply a technique of getting or sending data from or to the server without reloading the page. WordPress itself is chock full of ajax functionality. </p>
<p>The only way I am aware to add custom functionality to WordPress, ajax or otherwise, is by modifying a theme or writing a plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seb</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-2081</link>
		<dc:creator>seb</dc:creator>
		<pubDate>Tue, 02 Feb 2010 01:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-2081</guid>
		<description>Is there any way to do ajax in wp without building a plugin (which seems kinda redundant)?</description>
		<content:encoded><![CDATA[<p>Is there any way to do ajax in wp without building a plugin (which seems kinda redundant)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordpress custom templates and Javascript &#124; TheGarage Tech Blog</title>
		<link>http://garagetechblog.com/2009/09/20/wordpress-ajax-and-wpdb/comment-page-1/#comment-783</link>
		<dc:creator>Wordpress custom templates and Javascript &#124; TheGarage Tech Blog</dc:creator>
		<pubDate>Sun, 27 Sep 2009 13:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://garagetechblog.com/?p=646#comment-783</guid>
		<description>[...] TheGarage Tech Blog Tech projects from the corner of a suburban garage      &#171; Wordpress ajax and $wpdb [...]</description>
		<content:encoded><![CDATA[<p>[...] TheGarage Tech Blog Tech projects from the corner of a suburban garage      &laquo; WordPress ajax and $wpdb [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
