Advertisement
dysphafiz_

Untitled

Nov 6th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. $search = @$_GET['search'];
  2.     if(!empty($search)) $sql .= " WHERE nis LIKE '%$search%' OR nama_lengkap LIKE '%$search%' OR alamat LIKE '%$search%' OR nama_ibu LIKE '%$search%' OR jurusan LIKE '%$search%' OR kelas LIKE '%$search%'";
  3.  
  4.     $cari_gj = @$_GET['cari_gj'];
  5.     if(!empty($cari_gj)) $sql .= " WHERE gol_darah LIKE '%$cari_gj%' OR jenis_kelamin LIKE '%$cari_gj%'";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement