Beispiel #1
0
 /**
  * Function gets the product details from the database
  * 	 
  *
  * @return string
  */
 function editProductEntry()
 {
     $id = $_GET['id'];
     //$id=75;
     if ((int) $id > 0) {
         $sql = 'select * from products_table where product_id=' . $id;
         $obj = new Bin_Query();
         $obj->executeQuery($sql);
         return Display_DProductEntry::editProductEntry($obj->records);
     }
 }