Take the tour ×  I'm new to Oracle and using OCI with PHP. I've
been doing ok until I've tried to do an update statement.
$updateTitleInserted = oci_parse($conn, "UPDATE insured SET
INSURED_TITLE= '$updateTitle' WHERE INSURED_ID='$INSURED_ID'");
oci_execute($updateTitleInserted, OCI_COMMIT_ON_SUCCESS);
All I'm trying to do is and update statement so the user can
change the Title of a person. I am using AJAX to do this
asynchronously and when the user attempts to change the title to
the current value it processes the function fine but if the new
value is different it gets stuck at the update statement and no
change is made.  share|improve this question This may sound
basic, so excuse me if so, but have you tried the same code in a
flat file with the values hardcoded? I can't see in your snippet
where the variables are being set. Do you see any errors? – 
Martin Lyne Oct 24 '12 at 23:20 it was a bit silly of my but i
was calling the wrong variable for insured title... didn't see
it before because this is