ikinci temizlik tamamlandı
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
$row = j(get("row"));
|
||||
$id = null;
|
||||
if(isset($row['id'])) $id = $row['id'];
|
||||
|
||||
$query = db("r_f_i_s")
|
||||
->where("discipline", $row['discipline'])
|
||||
->where("id","!=", $id)
|
||||
->where("rfi_no", $row['rfi_no'])
|
||||
->orderBy("id", "DESC")->count();
|
||||
|
||||
if($query>0) {
|
||||
echo 0;
|
||||
} else {
|
||||
echo 1;
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user