Location: PHPKode > scripts > Starting Page > starting_page/include/header.php

mysql_connect("$host", "$username", "$password")or die("cannot connect to the database."); 
mysql_select_db("$db_name")or die("cannot select the database.");

$result = mysql_query("SELECT * FROM ".$prefix."settings WHERE id = 1");
while($row = mysql_fetch_array($result)) {
	$pagename = $row['pagename'];
	$template = $row['template'];


<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title><?php echo $pagename; ?></title>
echo "<link href='template/$template' rel='stylesheet' type='text/css' />";


<div align="center">
	<table border="0" width="850" cellspacing="0" cellpadding="0">
			<td valign="top" width="1024">
			<p align="center"><b><font size="6"><?php echo $pagename; ?></font></b><br><br></td>
			<td valign="top" width="1000">
Return current item: Starting Page