It seems that would work. but I receive no errors even when I user
print mysql_error();
Everything seems to look good but it dosen't update that file
Here the code see if theres anything I can't see
// Insert data into bpo_orders table
$sql = "INSERT INTO bpo_orders
(paddress,notes,date,status,bpo_user)
VALUES (
'$paddress',
'$notes',
'$date',
'$status',
'$bpo_user')";
$result = mysql_query($sql);
print mysql_error();
echo "text";
}
// Update bpoco orders value to Yes
if ($submit) {
if ($bpo_id) {
$sql2 = "UPDATE bpoco SET
orders='Yes' WHERE bpo_id=$bpo_id";
print mysql_error();
}
TIA
Richie TM