Dichiara:
$var = "AAAV1vAAGAAIb4CAAC";
Usa:
INSERT INTO myTable (...) VALUES ( ...)
RETURNING RowId INTO :p_val
Associa la tua variabile a una variabile PHP:
oci_bind_by_name($statement, ":p_val", $val, 18);
Dichiara:
$var = "AAAV1vAAGAAIb4CAAC";
Usa:
INSERT INTO myTable (...) VALUES ( ...)
RETURNING RowId INTO :p_val
Associa la tua variabile a una variabile PHP:
oci_bind_by_name($statement, ":p_val", $val, 18);