
$pi_eventid = isset($_GET['pi_eventid'])? $_GET['pi_eventid']: '';
if (!is_numeric($pi_eventid))
return;
$lo_rec = mysql_query("SELECT * FROM `events` WHERE eventid=".$pi_eventid." LIMIT 1") or trigger_error(mysql_error(), E_USER_ERROR);
$la_rec = mysql_fetch_assoc($lo_rec);
if (!is_array($la_rec))
return;
echo ''.$la_rec['headline'].'
';
echo ''.date('d F Y',strtotime($la_rec['startdate'])).' to '.date('d F Y',strtotime($la_rec['finishdate'])).''.$la_rec['content'].'
[Back] ';
?>