Esempio n. 1
0
 function removeimage($id)
 {
     $sql = "delete from `rentorhire_images` where photo_id='" . $id . "'";
     $result = $this->mysql->query($sql);
     $ph = new photo();
     $ph->deletePhoto($id);
 }