connect($dbhost, $dblogin, $dbpassword, $database); if($_SESSION["utype"]=="serviceprovider"){ $sql_hed="select permission_level from sp_membership_type ,serviceprovider where sp_membership_type.membership_id = serviceprovider.membership_id and service_prod_id= '".$_SESSION["uid"]."'" ; $res_hed = mysql_query($sql_hed,$connection); $row_hed = mysql_fetch_object($res_hed); } if (($_SESSION["sess_id"] != $sess_id) || (($_SESSION["utype"]=="serviceprovider")&& $row_hed->permission_level==0)) { header("location: login.php"); } $db_sql = "Select art_pdf_file,art_title ,art_url,art_featured_title,author_image ,specialarticle_id , art_contents , DATE_FORMAT(art_date,'%M %d %Y') as pub_date from specialarticles where specialarticle_id = '".$id. "'"; $db_res = mysql_query($db_sql, $connection); $db_result = mysql_fetch_object($db_res); $sql="select article_name,author_name, author_image from sp_article_category where article_category_id=$db_result->art_title "; $res=mysql_query($sql,$connection); $row = mysql_fetch_object($res); ?>
|
HedgeCo.net
|
||||
|
Notice: Undefined variable: row in /var/www/hedgeco_production/article_print.php on line 61 Notice: Trying to get property 'article_name' of non-object in /var/www/hedgeco_production/article_print.php on line 61 |
||||
|
||||
|
Notice: Undefined variable: db_result in /var/www/hedgeco_production/article_print.php on line 89 Notice: Trying to get property 'art_contents' of non-object in /var/www/hedgeco_production/article_print.php on line 89 |
||||
|
||||