My name is Vladimir Polansky. My CV: vovoka.space
Submit form data to Telegram using bot and make record in mySQL table using Medoo.
- Get a TOKEN from @botFather and your chat ID.
- Into a file telegram.php. Format message from the form data and insert: TOKEN, chat ID.
- Into a file recordDB.php. Add your database connection data and define your variables from the form.
Add a quick telegram alert to the application form on the website and record data in mySQL with protection against SQL injection.
- Introducing in the PHP programming language.
- Using PHP to securely connect to mySQL and work with tables.
- Installation the Medoo framework and using it.
- Creating a telegram bot and sending messages to a chat using PHP.
Comprehensive study by searching on the Internet.
10 hours.
webhookForm is maintained by vovoka-path