Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to add channel / cf7 name to data export from sql?

$
0
0

Replies: 0

I’m trying to export from sql data base selected data from Flamingo to collect names, emails but missing very important data – the name of conctact form (channel) which was filled by sender.
Can you help with code? Question is what and how add code to join column with contact form name to every user email?
This code working but not selecting any contact form title / name / channel:

SELECT meta_value, post_date, post_content FROM wp_postmeta INNER JOIN wp_posts WHERE (( wp_posts.post_type = ‘flamingo_inbound’ ) AND ( wp_postmeta.post_id = wp_posts.ID ) AND (wp_postmeta.meta_key = ‘_from_email’)) ORDER BY post_date DESC

  • This topic was modified 29 minutes ago by uswprrew.

Viewing all articles
Browse latest Browse all 59525

Trending Articles