Ajax PHP Search, Query result instead of XML
<p>I'm following the <a href="http://www.w3schools.com/php/php_ajax_livesearch.asp" rel="nofollow">tutorial from w3schools</a> on ajax search and I'm having some trouble tweaking the code. The structure I got is: </p>

<p><strong>search.php</strong> - ( <em>Where the search terms ?q=search will output a result as</em> <code>echo $result</code> )</p>

<p><strong>livesearch.php</strong> - ( <em>Where it will exchange information between search.php and search.html</em> )</p>

<p><strong>search.html</strong> - ( <em>Where it contains java script and what not</em> )</p>

<p>How can I, please, make it instead of grabbing information from XML, grab from the output string in search.php?  In other words, if the HTTP request is "livesearch.php?q=searchTerm", I want to output "searchTerm."</p>
