chu-boi Posted August 11, 2009 Share Posted August 11, 2009 Hi all, I need users to be able to search for members on my site by their rank, so i created a simple search box with a submit button. I need to send the input to a page that queries the database for the username that matches the input, and then displays the result on the original page with the search box. I heard you can use AJAX for this sort of thing, so I tried the tutorial on W3schools but it doesn't work. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/169795-need-help-with-displaying-records-from-database/ Share on other sites More sharing options...
premiso Posted August 11, 2009 Share Posted August 11, 2009 One suggestion...how about showing us the code you have tried and where it is failing and write out what you have tried to get it to work. Maybe then we will be able to help you. Quote Link to comment https://forums.phpfreaks.com/topic/169795-need-help-with-displaying-records-from-database/#findComment-895762 Share on other sites More sharing options...
Catfish Posted August 11, 2009 Share Posted August 11, 2009 Yeah it could be an AJAX problem not mysql or php. In which case you'd have to be asking in an AJAX forum. I dont know anything about AJAX though. Quote Link to comment https://forums.phpfreaks.com/topic/169795-need-help-with-displaying-records-from-database/#findComment-895849 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.