Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
var
/
www
/
html
/
bkd
/
formproses
/
/var/www/html/bkd/formproses/sql_proses_js.php
<? include "../app.php"; include "../app_def.php"; include "../idb.php"; if ( isset($_POST['id']) ) {$txt_id=$_POST['id'];} if ( isset($_POST['tbl']) ) {$tbl=$_POST['tbl'];} if ($tbl !='m_dosen'){ $query = "delete from $tbl where id = '$txt_id'"; $result= iresult($query, $app['sys_db']); echo "SUKSES"; }else{ $query = "delete from $tbl where nip = '$txt_id'"; $result= iresult($query, $app['sys_db']); echo "SUKSES"; } ?>