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:
or perhaps it's PHP?
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!
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>
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);
?>
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!