File: /var/www/vhosts/pgkdistribution.com.au/citisolar.com.au/gatehouse==/procedit.php
<?php
include_once('db.php');
session_start();
$_SESSION['ref'] = 'procedit';
mysqli_query ($conn, "UPDATE jobs SET address='".$_POST['address']."', appliance='".$_POST['appliance']."', codes='".$_POST['codes']."', tradesman='".$_POST['tradesman']."', invoicenum='".$_POST['invoicenum']."' WHERE date='".$_POST['date']."' AND scorder='".$_POST['scorder']."'");
$_SESSION['mysqlerr'] = mysqli_error();
header("Location: query.php");
?>