what has changed since yesterday?

Status
Not open for further replies.

royboyy

New Member
Messages
6
Reaction score
0
Points
0
Would someone please help me with this?

Less than 12 hours ago, everything was working on my site. Has there been a change with JavaScript or perhaps PHP where something has been disabled?

this page should load with info from a MySQL database.

I have this JavaScript that loads:
Code:
<script language="JavaScript1.2">function songinfo(songid)
{
 songwin = window.open("songinfo.php?songid="+songid, "songinfowin", "location=no,status=no,menubar=no,scrollbars=yes,resizeable=yes,height=400,width=650");
}</script>
or perhaps it's PHP?

PHP:
<? 
 require("config.php"); 

 $db->AddInt($songid);
 $db->open("SELECT *, DATE_FORMAT(songlist.date_played, '%b %e, %Y @ %h:%i %p') as dateplayed, DATE_FORMAT(songlist.date_added, '%b %e, %Y') as dateadded
            FROM songlist 
            WHERE ID = :songid");
 $song = $db->row();

 PrepareSong($song);
?>
Since it's the $songid that i'm working with it, i think it might be the $db->AddInt($songid); part of the above that isn't working anymore. But I honestly have no clue.

My website is royradio.x10hosting.com. If you go there and click on any song title on the right hand side, you'll get a pop-up box with nothing filled in.

I would appreciate any info. Thank you!
 
Status
Not open for further replies.
Top