<?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>MySQL Archives - VirtJunkie</title>
	<atom:link href="/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>/category/mysql/</link>
	<description>Virtualization, Automation, and anything else that might be on my mind</description>
	<lastBuildDate>Mon, 03 Apr 2006 22:02:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.2</generator>

<image>
	<url>/wp-content/uploads/2020/04/cropped-vj4-150x150.png</url>
	<title>MySQL Archives - VirtJunkie</title>
	<link>/category/mysql/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>AJAX Based MySql Live Search</title>
		<link>/2006/04/03/ajax_based_mysql_live_search/</link>
					<comments>/2006/04/03/ajax_based_mysql_live_search/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Mon, 03 Apr 2006 22:02:25 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=69</guid>

					<description><![CDATA[<p>This is a little something that I made up this afternoon at school. It&#8217;s an implementation of a search app with out a celing. In other words , there&#8217;s no submit button. With each keystoke that you type, the query get&#8217;s more accurate. If you just want to check it out (with source, and an [&#8230;]</p>
<p>The post <a href="/2006/04/03/ajax_based_mysql_live_search/">AJAX Based MySql Live Search</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a little something that I made up this afternoon at school.</p>
<p>It&#8217;s an implementation of a search app with out a celing.  In other words , there&#8217;s no submit button.  With each keystoke that you type, the query get&#8217;s more accurate.</p>
<p>If you just want to check it out (with source, and an example) then <a href="/blog/blogfiles/ajax_db_search/ajaxSearch.php">Click Here</a><br />
The code is commented pretty well.</p>
<p>If you want a little explanation read on.</p>
<p>I used a library called <a href="http://www.xajaxproject.org/">Xajax</a> for this project (and the last one as well).  It&#8217;s an extremely useful and easy to use library because of the fact that it doesn&#8217;t require the coder to know any javascript. This is a goood thing, because I HATe javascript.</p>
<p>The Xajax library allows you to take a PHP function and essentially use it as a javascript function asynchronously.</p>
<p>What this script does is check to see if the user presses a key.  Each time that they do the PHP function autoSearch() runs.  autoSearch() has one paramater, the current value of the input box.  Read the code comments for more info on this.</p>
<p>If the entered query is 2 or more charachters, then a mysql query is executed.  If there are result(s), then they are diplayed.</p>
<p>Practical Application:<br />
Personally, I hope to use this in the content mananagement system that I&#8217;ll be starting soon.  I&#8217;m planning on having it parse through blog entries, and display the title and the publishing date of the post.</p>
<p>When you click on the link above you&#8217;ll see the example page.  At the bottom of it are links to the PHP source, as well as the MySql Source.</p>
<p>If you have any questions email me at &#8220;howe -dot- jon &#8211; at &#8211; gmail &#8211; dot &#8211; com&#8221;, and I&#8217;ll get back as soon as I can.</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/04/03/ajax_based_mysql_live_search/">AJAX Based MySql Live Search</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/04/03/ajax_based_mysql_live_search/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
