简体   繁体   English

如何将输入从快速安全联系表写入MySQL数据库?

[英]How to write inputs from Fast Secure Contact Form to MySQL Database?

I'm using the PHP script version (not Wordpress) of Fast Secure Contact Form: http://www.fastsecurecontactform.com/download-php-script . 我使用的是快速安全联系表单的PHP脚本版本(而非Wordpress): http : //www.fastsecurecontactform.com/download-php-script It works great, but I'm wondering how I would go about writing the form data to a MySQL database. 效果很好,但我想知道如何将表单数据写入MySQL数据库。 For the Wordpress version, there is a Database extension, http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/ , but not for the PHP script. 对于Wordpress版本,有一个数据库扩展名http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/ ,但没有PHP脚本。 Any thoughts on how I could write the PHP script version inputs to a database would be much appreciated! 我将如何编写PHP脚本版本输入到数据库的任何想法将不胜感激!

The website link you provided has some tip sections that discuss sending the data from the form to another page: 您提供的网站链接包含一些技巧部分,这些部分讨论将数据从表单发送到另一页:

http://www.fastsecurecontactform.com/sending-data-by-query-string http://www.fastsecurecontactform.com/sending-data-by-query-string

After entering the data in the form, you might be able to then send that data to another PHP page which can then save the data to a MySQL database. 在表单中输入数据后,您也许可以将数据发送到另一个PHP页面,然后该页面可以将数据保存到MySQL数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM