[英]How to fetch data from ContactForm7 database in WordPress?
I'm using Wordpress
.我正在使用
Wordpress
。 I have a form that uses contact form 7
extension.我有一个使用
contact form 7
扩展名的表格。 The user fill outs the form and when submitted, the data is stored in the contact form 7
database.用户填写表格并提交后,数据将存储在
contact form 7
数据库中。
I would like to fetch the latest entry in the database and call/query it in another PHP
code.我想获取数据库中的最新条目并在另一个
PHP
代码中调用/查询它。
ContactForm7 default not stores data into database. ContactForm7 默认不将数据存储到数据库中。 If you would like to store data into database use Contact Form DB plugin & then apply select query on wp_cf7dbplugin_submits table.
如果您想将数据存储到数据库中,请使用Contact Form DB插件,然后在wp_cf7dbplugin_submits表上应用选择查询。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.