Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $search = @$_GET['search'];
- 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%'";
- $cari_gj = @$_GET['cari_gj'];
- 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