I followed the link http://www.petefreitag.com/item/605.cfm
to add autofill feature to my website.
They had used the cfm files for getting the data from database. But I want to get the databse from php.
my form page code is like this
<input type="text" name="occupation1" id="occupation1"/>
var myAutoCompleter = new Ajax.Autocompleter('occupa
tion1', 'suggestionBox', 'suggest.cfm
and its suggest.cfm
code is like this.
<cfparam name="form.occupation1" default="" type="string">
<cfquery datasource="dsn" name="suggestions">
WHERE occupation LIKE
I need its equivalent code in php and mysql. Help me!!!