Jump to content

How would I do this?


Hard Powered

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.