if($_REQUEST['only']=="onlystores")
{
?>
Only Stores
include("onlystores.html");
}
else
{
$dbhost="localhost";
$user="stb";
$password="monkey";
$connect=mysql_connect($dbhost,$user,$password);
if($connect)
{
if(mysql_select_db("only_stores",$connect))
{
$sql="select * from stores where stores_code='".$_REQUEST['only']."'";
$result=mysql_query($sql);
if($result)
{
while($row=mysql_fetch_assoc($result))
{
$include_url=$row['stores_include'];
$include_title=$row['stores_title'];
$left_nav_html=$row['stores_left_section_html'];
$stores_id=$row['stores_id'];
$itunes_ad=$row['stores_itunes_ad'];
$iframe_length=$row['stores_iframe_length'];
?>
Only Stores -
printf("
",$include_url);
?>

}
}
}
}
}
?>