mysql_connect("carolrot_hblog","th_blerg","sta#lier");
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT * FROM carolrot_hblog.adminoptions";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
?>
test
echo $row["MasterOn"]; if ($row["MasterOn"] == 1 && $row["ImageOn"] == 1 && $row["ImageName"] != "") { echo "“;
} else {
echo ” “;
}
?>
echo $row["MasterOn"]; if ($row["MasterOn"] == 1 && $row["ImageOn"] == 1 && $row["ImageName"] != "") { echo "“;
} else {
echo ” “;
}
?>
if ($row["MasterOn"] == 1 && $row["BoxOn"] == 1){ echo "
“;
} else {
echo ” “;
}
?>