Connect()){ if($_GET['id']==""){ header("Location:index.php"); exit(); } $id=strip_tags($_GET['id']); $rs_add = $db->Execute("Select * from $tables[advertisement] where advertisementid='$id'") or die(redirect_index()); $row_add=$db->FetchArray($rs_add); /***************CODE FOR FETCHING META KEYWORDS AND DESCRIPTION**************************************/ $sql_meta_key_desc="select * from $tables[meta_key_desc]"; $res_meta_key_desc=mysql_query($sql_meta_key_desc) or die(redirect_index()); $line_meta_key_desc=mysql_fetch_array($res_meta_key_desc); $line_meta_desc=stripslashes($line_meta_key_desc['meta_desc']); $line_meta_key=stripslashes($line_meta_key_desc['meta_key']); /***************END OF CODE FOR FETCHING META KEYWORDS AND DESCRIPTION**************************************/ ?>
". $db->SQLERROR; } ?>