[insert_php]
global $wpdb;
$PostID= get_the_ID();
$result= $wpdb->get_row(‘SELECT * FROM reg_sub_seminars WHERE post_id =”‘.$PostID.'”‘);
[/insert_php]
What
[insert_php]
echo “”.$result->description;
[/insert_php]
When
[insert_php]
$datetime = new DateTime($result->seminar_date);
echo “”.$datetime->format(‘l’).”, “.$datetime->format(‘F’).” “.$datetime->format(‘d’).”, “.$datetime->format(‘Y’);
echo “\r\n”.$result->from_time.” – “.$result->to_time;
[/insert_php]
Where
[insert_php]
echo “”.$result->addr1.”,”;
echo “\r\n”.$result->addr2.”,”;
echo “\r\n”.$result->city.”,”;
echo “\r\n”.$result->state.” “.$result->zip;
[/insert_php]
How
[insert_php]
echo ‘Meeting Agenda’;
[/insert_php]
;
;