I tried using the following code but it disappears as soon as i refresh the page. This should work when i set this one as editurl but sadly as soon as i refresh the page all the changes disappear. Any help would be appreciated. thanks
include(“dbconfig.php”);
$cf_id=$_POST['cf_id'];
$order_id=$_POST['order_id'];
$status=$_POST['status'];
$assigned_to=$_POST['assigned_to'];
$reported_date=$_POST['reported_date'];
$remarks=$_POST['remarks'];
$db = mysql_connect($dbhost, $dbuser, $dbpassword) or die(“Connection Error: ” . mysql_error());
mysql_select_db($database) or die(“Error conecting to db.”);
mysql_query(“UPDATE jos_chronoforms_ictjobrequest SET order_id='$order_id', status='$status', assigned_to='$assigned_to', reported_date='$reported_date', remarks='$remarks' WHERE cf_id=$cf_id”) or die(mysql_error());
mysql_close($db);
EDIT: Please tell me if this php is correct then that means .. there is a problem in my js and html file