This Simple Chatbot System in PHP and MySQL with code can easily interact with an end user.
In the same way, the premium chat system records unanswered queries, so that the administrative user can correct them in the future, and fine-tune the system's operation.
This Simple Chatbot in PHP and MySQL on which I share the code, can serve as an example to develop more complex applications.
Chatbot Explainer Video (Spanish)
Contact me if you have questions
You can contact me on my Whatsapp at the following link:
Setting up the Simple Chatbot System in PHP and MySQL on a local server
The process is a recurring theme in my publications, the following applications must be downloaded and installed with all the default parameters:
Simple Chatbot System Download
The application is related in the following link:
To download the application you must enter the following location from Visual Studio Code
Already in this folder, within Visual Studio Code, press the View option and then Terminal, and in the window that appears at the bottom, write the following code and press Enter:
git clone https://github.com/configuroweb/chatbot-sencillo.git
Inside the htdocs folder a new folder will be created called chatbot-sencillo and there will be the project already entered, what remains is, from Visual Studio Code, access this folder from the Open Folder option and access chatbot-sencillo, this way you will have the application files to modify them at will.
Creation of the database
For the creation of the database, you need to have the Apache and MySQL services in XAMPP, if you open XAMPP for the first time you choose the language of your preference between German and English.
After activating the Apache and MySQL services, you can access the following URL to create the database and copy the SQL script.
From the Database Manager, you create the database with the name chatbot, it is recommended that the collation be UTF SPANISH 2 CI, so that the database supports accents and characters specific to our language.
After creating the database, you must click on the SQL section, copy and paste the code found in the following link:
As soon as you complete this process, the application will be operational at the following link:
If you have additional questions about setting up PHP applications on a local server, you can access the following post
Commissioning of the Simple Chatbot System in PHP and MySQL in a Hosting
I explain the process at a general level, in the video below:
Any questions remain pending.