Jump to content

Ajax AutoSuggest Search using PHP / MS Access DB


Recommended Posts

Hi I am fairly new to Ajax and have been searching for a autosuggest search tutorial that uses suggestions from a field in an MS Access database. I have found a few tutorials using mysql, however these tutorials use the mysql functions with php and I am not able to tailor this towards my MS Access DB. Could someone point me in the right direction of a simple way to produce a Ajax search field that autosuggests using a field in a MS Access db.

 

Thanks

Your problem is not really Ajax related it's more PHP related. The examples you came across most likely used the mysql_ functions to work with a mysql database. Instead of using the mysql_ look into the odbc_ functions for connecting to a access db.

 

Edit: PDO might also work for you.

useful, I never knew PHP had odbc functions, I always thought it was limited in that respect and had to use mysql. I just need to find the tutorial i was working from again because I didn't think I would be able to use it. I am quite a newbie to this so I will most likely be writing back for more help! thanks in the meantime!!

If you searched for "Ajax PHP autocomplete" or something along those lines then it should be pretty much those tutorials. As stated before you just need to know how to connect to an MS Acces database using odbc_ functions, PDO or something else that might work with MS Access. The tutorials written for mysql should otherwise be pretty much the same except for the database handling.

 

What code have you got so far and what tutorials have you tried? Simply asking for tutorials that will point you to the right direction for "PHP MS Access" comes off as if you haven't done enough research yourself thus having the result that people are less willing to help you out on your problem.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.