View Full Version : Fixed

06-10-2005, 05:51 AM
Never mind. I rewrote it and fixed it.

06-10-2005, 06:14 AM
include ("<djstatusv1.8.1/config.php");

if ($address == "requests.php")
echo "<img src=\"images/playing.gif\">";
echo "<img src=\"images/notplaying.gif\">";

umm i have no idea what else you have on that page... but it looks to be really messy (mass if statements). you also need a == when comparing not just =

= is generally for assigning a variable a value. ie. $address = "blah";
== is a comparison. i.e if ($address == "blah) { echo "true"; }

just keep your formatting tabulated so it makes it easier for you to follow as well.

also need to escape " with \ when your echoing.

edit: i also noticed in your include you have "<djstatusv1.8.1/config.php" is that ment to be just djstatusv1.8.1 without the < ?