Esempio n. 1
0
 /**
  * This function is used to get   the product page information
  * 
  * 
  * @return string
  */
 function pageInfo()
 {
     $sql = "SELECT product_id,title,meta_desc,meta_keywords FROM products_table where product_id= " . (int) $_GET['prodid'] . " and status=1";
     $query = new Bin_Query();
     if ($query->executeQuery($sql)) {
         return Display_DProductDetail::pageInfo($query->records);
     } else {
         return "No Products Found";
     }
 }