Mon THESS

[insert_php]
global $wpdb;
$details = $wpdb->get_var( « SELECT ldl.value FROM wp_rg_lead l, wp_rg_lead_detail ld, wp_rg_lead_detail_long ldl WHERE l.id = ld.lead_id AND ld.id = ldl.lead_detail_id AND l.form_id = 1 AND l.created_by = « .bp_loggedin_user_id(). » AND ld.field_number = 1″);

if (!is_null($details))
echo nl2br($details);
else
header(‘Location:https://claireyvesandre.com/examen-thess/’);
[/insert_php]