= $days and fc.status='1' "; $q_com=mysql_query($sql_company); $sql_job = "SELECT * FROM tbl_job as j,tbl_follow_company as fc where fc.user_id='".$_SESSION['jbseek_uid']."' and fc.cmp_id=j.cmp_id and last_updated_date >= $days and j.status='1' and approve='1' and payment_status='1' "; $q_job=mysql_query($sql_job); if(mysql_num_rows($q_com)>0 || mysql_num_rows($q_job)>0) { ?>