$queryUpdateclient = "UPDATE client SET nama = '$nama', no acc = '$noacc', branch = '$branch', rate = '$rate', komisi = '$komisi', email = '$email', nama bank = '$namabank', no rekening = '$norekening', detail bank = '$detailbank', ae code = '$aecode', nama ae = '$namaae', ket = '$ket' WHERE ID = '$id');
function deleteclient(){
include_once '../../conection.php';
$id = $_GET['id'];
$queryDeleteclient = "DELETE FROM CLIENT WHERE ID = $id";
$result = mysql_query($queryDeleteclient) or die ("error delete client : ".mysql_error());
header('Location: ../index.php');
}
?>
pas ane cek ternyata ada error di line 70
Spoiler for error:
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\client\dclient\proces\control.client.php on line 70
utk line 70 isi scriptnya
Spoiler for script line 70:
mysql_query($queryUpdateclient) or die("Error on Query Updateclient : ".mysql_error());
tolong dong gan,ane bingung bgt krn udah coba baca2 dr web php tp msh error jg