Hard Powered Posted April 23, 2008 Share Posted April 23, 2008 Hello, I want to make a place where my users can ask a question to a computer, take iGod for example. I want my user to enter a question and then the script searches the database, it then displays the closest answer possible. What it would need: A Client An Admin CP where we can enter keywords or sentances If anyone can help with this, that would be very appreciated. I know very little PHP. :-\ Thanks Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/ Share on other sites More sharing options...
DarkWater Posted April 23, 2008 Share Posted April 23, 2008 I'm not going to write an entire application for you, but I'll tell you what you need to do. 1) Make a form that sends its data to the script. 2) Have the script search your database. 3) Return relevant results and calculate the best match. 4) Display to the user, along with their question, and display the form again. Admin: 1) Make a page that submits sentences and keywords to a php page. 2) Have the PHP page insert them into the database. It's fairly straightforward. Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525366 Share on other sites More sharing options...
Hard Powered Posted April 23, 2008 Author Share Posted April 23, 2008 Ok, thank you. That simplifies it, would anyone else be willing to help with the programming? Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525370 Share on other sites More sharing options...
Hard Powered Posted April 23, 2008 Author Share Posted April 23, 2008 :-\ Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525386 Share on other sites More sharing options...
BlueSkyIS Posted April 23, 2008 Share Posted April 23, 2008 what have you got so far? Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525387 Share on other sites More sharing options...
Hard Powered Posted April 23, 2008 Author Share Posted April 23, 2008 Nothing, as I said I'm a newbie. :-\ Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525395 Share on other sites More sharing options...
BlueSkyIS Posted April 23, 2008 Share Posted April 23, 2008 i suggest that you first learn some PHP, go over some tutorials, etc. no one here is going to walk you from knowing or trying nothing at all through to building a full-blown application. Link to comment https://forums.phpfreaks.com/topic/102589-how-would-i-do-this/#findComment-525402 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.