$currentdate = Datum („Y-m-d ");
$event_query = „* von den Ereignissen IN DENEN StartDate >= „$currentdate“ UND Approved='1 Auftrag durch StartDate LIMIT 5“ VORWÄHLEN;
$event_query_result = mysql_query ($event_query);
wenn (mysql_num_rows ($event_query_result) > 0)
{
$i =0;
während ($event_row = mysql_fetch_assoc ($event_query_result))
{
$event_id = $event_row [„IDENTIFIKATION“];
$event_name = $event_row [„Name“];
$event_date = $event_row [„StartDate“];
$event_time1 = $event_row [„DisplayTime“];
$event_location = $event_row [„Position“];
$event_time = mysql2timestamp ($event_date);
$event_display_date = Datum („D, F J, O“, $event_time);
Echo „$event_display_date“
|