Aqui está o código que usei no vídeo:
<?php
include('../wp-load.php');
global $wpdb;
$sql = "SELECT id, type, form_name
FROM {$wpdb->prefix}e_submissions";
$query = $wpdb->get_results($sql);
//var_dump($query);
foreach($query as $key=>$value){
echo '<div>' .$value->id .' | '. $value->form_name . '</div>';
$sql2 = "SELECT * FROM {$wpdb->prefix}e_submissions_values
WHERE submission_id=". $value->id;
$query2 = $wpdb->get_results($sql2);
//echo $sql2;
foreach($query2 as $k=>$v){
echo '<div>' .$v->key .': '. $v->value . '</div>';
}
echo '<hr>';
}
Adquira o Elementor PRO:
https://elementor.com/?ref=12645
Views: 93
8 respostas
Boa noite, seguindo essa linha de raciocínio há algum widget que possa ser alimentados com os dados de uma consulta SQL personalizada no Elementor, já tenho a base e preciso mostrar em uma listagem no site.
Wow, superb weblog format! How long have you ever
been blogging for? you made blogging glance easy. The
whole look of your web site is wonderful, as well as the content!
You can see similar here dobry sklep
It is not my first time to visit this website, i am browsing this web site dailly
and take good data from here all the time. I saw similar here:
Sklep internetowy
I’m not that much of a internet reader to be honest but
your sites really nice, keep it up! I’ll go ahead
and bookmark your website to come back later. Many thanks I saw
similar here: Dobry sklep
It’s very interesting! If you need help, look here: ARA Agency
Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my
site to rank for some targeted keywords but I’m not seeing very good success.
If you know of any please share. Many thanks! I saw similar art here: Scrapebox List
Way cool! Some extremely valid points! I appreciate you writing this write-up
plus the rest of the website is very good.
Also visit my homepage – vpn special coupon
What’s up, just wanted to tell you, I liked this post. It was practical.
Keep on posting!
Here is my blog – vpn coupon code 2024