craiglaw2504 Posted December 7, 2009 Share Posted December 7, 2009 Hi, I'm trying to make an AJAX live search, that will extract information from a MYSQL database and narrow down the search as the user types characters. Exactly like this post:- http://www.phpfreaks.com/forums/index.php/topic,219984.msg1008498.html#msg1008498 I need to be able to search for a property (as opposed to a user) and then display the rest of the information for the property in a table format. I can't seem to be able to adapt the one for the above post and as we are a charity can't afford to employ a web designer (plus I really would like to learn). Please, please can someone help me?! Really would appreciate it as I have spent days trying to sort this. Quote Link to comment https://forums.phpfreaks.com/topic/184260-php-ajax-live-search-extract-mysql-data/ Share on other sites More sharing options...
RichardRotterdam Posted December 7, 2009 Share Posted December 7, 2009 What part are you stuck on? If the example link is nearly what you require couldn't you change the script so it would do what you require? Quote Link to comment https://forums.phpfreaks.com/topic/184260-php-ajax-live-search-extract-mysql-data/#findComment-972803 Share on other sites More sharing options...
craiglaw2504 Posted December 7, 2009 Author Share Posted December 7, 2009 Hi thanks for your reply. I have tried the script on the link already and couldnt get it to work. It wouldn't even pick up my config.php file (for mysql), even tho its a working script and when it did it just kept throwing up an error trying to use a user and password that are not even in my config. I was just looking to start a whole new scratch based on my search criteria. Unsure where to start tho. Thanks again Quote Link to comment https://forums.phpfreaks.com/topic/184260-php-ajax-live-search-extract-mysql-data/#findComment-972831 Share on other sites More sharing options...
RichardRotterdam Posted December 7, 2009 Share Posted December 7, 2009 I was just looking to start a whole new scratch based on my search criteria. Unsure where to start tho. Well starting with one from scratch sure would be the most education way to go. If you want the easy way out I suggest trying it using a javascript framework mootools autocomplete: http://digitarald.de/project/autocompleter/ jquery autocomplete: http://docs.jquery.com/Plugins/Autocomplete otherwise just lookinto ajax and see how far you can get Quote Link to comment https://forums.phpfreaks.com/topic/184260-php-ajax-live-search-extract-mysql-data/#findComment-972857 Share on other sites More sharing options...
craiglaw2504 Posted December 7, 2009 Author Share Posted December 7, 2009 Nice once, cheers mate! I will give it a bash and let you know how I get on! Appreciate the site links! Quote Link to comment https://forums.phpfreaks.com/topic/184260-php-ajax-live-search-extract-mysql-data/#findComment-973140 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.