|
||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
AufgabeEdit.php | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
updateEdit.php | ||||||||||||||||||||||
pindex = $pindex; $customer->cnr= $cnr; $customer->lastname = $_GET['lastname']; $customer->firstname = $_GET['firstname']; $customer->street = $_GET['street']; $customer->birthday= $_GET['birthday']; updateCustomerDB($customer); } else { echo 'Fehler'; } header('location: bspAmacon.php'); exit(0); ?> |
||||||||||||||||||||||
updateEditAjax.php | ||||||||||||||||||||||
pindex = $pindex; $customer->cnr= $cnr; $customer->lastname = $_GET['lastname']; $customer->firstname = $_GET['firstname']; $customer->street = $_GET['street']; $customer->birthday= $_GET['birthday']; $result = updateCustomerDB($customer); echo $result; } else { echo 'Fehlerhafte Parameter'; } // header('location: bspAmacon.php'); // exit(0); ?> |
||||||||||||||||||||||
|
||||||||||||||||||||||
aufgabeDelete.php | ||||||||||||||||||||||
Wrong Parameter in variable pindex'; } ?> |
||||||||||||||||||||||
|
||||||||||||||||||||||
updateDelete.php | ||||||||||||||||||||||
=0) { echo ' |
||||||||||||||||||||||
|
||||||||||||||||||||||
AufgabeNew.php | ||||||||||||||||||||||
|
||||||||||||||||||||||
|
||||||||||||||||||||||
updateNew.php | ||||||||||||||||||||||
=0) { $customer = new Customer(); $customer->pindex = getDBSequence(); $customer->cnr = $_GET['cnr']; $customer->lastname = $_GET['lastname']; $customer->firstname = $_GET['firstname']; $customer->street = $_GET['street']; $customer->birthday= $_GET['birthday']; if (insertCustomerDB($customer)) { //echo 'ok'; header('location: bspAmacon.php'); exit(1); } else { echo 'Fehler beim Eintragen eines neuen Datensatzes'; } } } // if (is_numeric($str_customno)) { else { echo 'Fehler: CNR ist nicht numerisch'; } ?> |
||||||||||||||||||||||
Datenbank Amacon ajax-amacon |
||||||||||||||||||||||