I guess im just confused about the edit code.. I have in the main page editurl: editsu.php, which is below. However, when i execute a change, it doesnt do anything with this file. I added the die command to verify.
require 'base.php';
die(“Success!!”);
$operation = $_POST['oper'];
if ($operation == “edit”) { qquery(“UPDATE customers SET vlan = '”.$_POST['vlan'].”', datadl = '”.$_POST['datadl'].”', dataul = '”.$_POST['dataul'].”', servicetype = '”.$_POST['servicetype'].”', voicelines = '”.$_POST['voicelines'].”', freqname = '”.$_POST['freqname'].”', radioname = '”.$_POST['radioname'].”', serial = '”.$_POST['serial'].”', mac = '”.$_POST['mac'].”' WHERE id = '”.$_POST['id'].”'”) or die(mysql_error());
} elseif ($operation == “add”) { qquery(“INSERT INTO customers(uname, fname, mname, lname, email, pass, cnumber, level, status) VALUES ('$uname', '$fname', '$mname', '$lname', '$email','$pass', '$cnumber','$level', 2)”); }