This is how it should look. Do a echo $update just after this red line, and see what it contains.
Code:
$update = "UPDATE allocate3 SET WORKSHEDULE='" . $work . "',TIME='" . $now_date . "' WHERE auto_id='" . $id . "'";
$sql_result = odbc_exec($conn,$update);
Hope that helps.
_________________________
- Vijay G
Strive for Perfection