我的ajax代码是这样的:
$("document").ready(function (){
$(".open_popup").colorbox({width:"580px", inline:true, href:"#subscribe_popup"});
});
这是弹出框,我需要在打开页面时打开这个弹出框,要打开这个弹出框我用的是这个代码
<a href="#" class="open_popup">Click here to open the popup&l
所以我有以下代码: $sql="SELECT * FROM $tbl_name ORDER BY id DESC";
$result=mysql_query($sql);
while($rows=mysql_fetch_array($result)){
$links = $rows['links'];
$linksArray = explode(',', $links);
if ($links == ""){
unset($linksArray);
}
?>
//LINK TO ACTIVATE