Skip to Main Content

Php code not INSERTING into Oracle 11g Rel2 DB

865124Jul 16 2011 — edited Jul 17 2011
Greetings all,

I have this php code to save into Oracle 11g Rel2 DB but i dont know why it is not working for INSERT, but the UPDATE own is working

$s3 = oci_parse($conn, "insert into INTERNALCUSTOMER (ID, CUSTOMERCODE, CUSTOMERNAME) values (INTERNALCUSTOMER_SEQ.nextval,'$DeptCode','$DeptDescrpt')");
oci_execute($s3);

Please i need help

Also i need php code to get number of records in a table in Oracle 11g Rel2 DB?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Aug 14 2011
Added on Jul 16 2011
1 comment
105 views