Thanks for the help I have just read your post I figured it out yesterday after staring at the code for ages!
Do you know how to use rollback in php as i have being trying but it doesnt seem to do anything.
for example
$rs=odbc_exec($conn, "UPDATE h set Dat = $data,
WHERE Dat = $data ");
if($rs==false){
// I want to use rollback here
}
Thanks
ugg