Location: PHPKode > projects > RecipeNet > header.php
<?php include 'common.php';
@mysql_connect($dbhost,$dbuser,$dbpass); 
@mysql_select_db($db);
$query0="SELECT * FROM rn_settings
WHERE settid='e7H78fah9fhj'";
$result0=mysql_query($query0);
$num0=mysql_numrows($result0);
$i=0;
while ($i < $num0) {
$sitename=mysql_result($result0,$i,"sn"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php echo $sitename; echo ' - '; echo $sitesection; ?></title>
<script language="javascript" type="text/javascript" src="tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
    theme : "advanced",
	mode : "textareas"
});
</script>
</head>
<body>
<p align="center">
<?php
echo '<p align="center"><strong>'; print("$sitename"); echo '</strong></p>
<p align="center"><a href="index.php"><img src="logo.jpg" width="300" height="100" alt="'; print("$sitename"); echo '"/></a></p>';
$i++;
}
?>
Return current item: RecipeNet