N!ck
11-07-2002, 11:55 AM
$nowplaying=$DB_site->fetch_array($DB_site->query_first("SELECT * FROM nowplaying WHERE userid = '".$bbuserinfo[userid]."' ORDER BY dateline DESC LIMIT 1"));
$nptext = "\"".$nowplaying[song]."\"-".$nowplaying[artist];
i've got it in global.php just above the part that fetches the header template, but when i put $nptext in the template, it just shows up as ""- rather than "<Song Title>"-<Artist>
any ideas?
$nptext = "\"".$nowplaying[song]."\"-".$nowplaying[artist];
i've got it in global.php just above the part that fetches the header template, but when i put $nptext in the template, it just shows up as ""- rather than "<Song Title>"-<Artist>
any ideas?