[php] function

Viewer

copydownloadembedprintName: function
  1. function tampil_sebagian ($table, $where, $id, $order){
  2.                 $condition = $where . "=" . $id;
  3.                 $data = mysqli_query($this->koneksi, "select * from $table where $condition order by $order desc");
  4.                 while ($d = mysqli_fetch_array($data)) {
  5.                         $hasil[] = $d;
  6.                 }
  7.                 return $hasil;
  8.         }

Editor

You can edit this paste and save as new: