$a_row[title]

$a_row[eventDate]

$a_row[html]
"); } else if ($a_row['format'] == 2) { # just show title / element printf("

$a_row[title]

$a_row[html]
"); } } if (isset($a_row['showTitle']) && $a_row['showTitle'] == 1) { $title = $a_row[title]; } else { $title = ""; } printf("
"); } $default_page = "about"; $page = $_GET['page']; # set page to about if unset if ($page == "") { $page = $default_page; } # validate page in itable, and replace page with correct lookup page $result = mysql_fetch_array(mysql_query("select tableName from itable where page=\"$page\";",$connection)); $page = $result[0]; if ($page == "") { $page = $default_page; } ?> Mynah-Software <? printf($page) ?>