I am using the following PHP script on my website and I get a Parse Error on the Bold Line of the Script.
Here is the Line That the Error is Occuring On:
PHP Code:
<html>
<head>
<META HTTP-EQUIV="REFRESH" CONTENT="60;URL=index.php">
<style type="text/css">
h3 {font-family: Comic Sans MS}
h3 {font-size: 12}
p {font-family: courier}
p.sansserif {font-family: sans-serif}
</style>
</head>
<body>
<?php
//////////////////////////////////////////////////////////////////////////////
// DJ Status v1.8.2 //
// ©2005 Nathan Bolender www.nathanbolender.com //
// Free to use on any website //
//////////////////////////////////////////////////////////////////////////////
include ("config.php");
if ($scsuccs!=1) {
if($streamstatus == "1"){
if (isset($dj)) {
echo "
<BODY BGCOLOR=#F8AC18> <FONT SIZE=2> <FONT COLOR=#1A1364> <b> <h3> Current Title</b>: $servertitle <br>
<b>Current Song:</b> $song[0]<br>
<b>Current DJ</b>: $name<br>
";
if ((empty($aimdb)) && (isset($aim) && $aim) && ($aim != "N/A")) {
$aimdb = $aim;
}
if ((empty($icqdb)) && (isset($icq) && $icq)) {
$icqdb = $icq;
}
if (isset($aimdb) && $aimdb) {
echo "<b>AIM</b>: $aimdb<br>";
}
if (isset($msn) && $msn) {
echo "<b>MSN</b>: $msn<br>";
}
if (isset($yim) && $yim) {
echo "<b>YIM</b>: $yim<br>";
}
echo "<A HREF=http://www.theeagleradio.net> Home </A>;
if ($showsetby == 1) {
echo "<br><br><b>This DJ was found by checking:</b> $setby";
}
?>
</body>
</html>
<html>
<head>
<style type="text/css">
h3 {font-family: Comic Sans MS}
h3 {font-size: 12}
p {font-family: courier}
p.sansserif {font-family: sans-serif}
</style>
</head>
<body>
<?php
} else {
echo " <h3> <BODY BGCOLOR=FCB00D> ";
}
} else {
echo "<BODY BGCOLOR=FCB00D> ";
}
} else {
echo "<BODY BGCOLOR=FCB00D> </h3> ";
}
?>
</body>
</html>
PHP Code:
echo "<A HREF=http://www.theeagleradio.net> Home </A>;
Comment