I have an oracle database whiwh contain a CLOB type field to pass the 4000 character limit of VARCHAR2.
The select function here seem to do what i want :
$query="SELECT :description FROM table WHERE id = $id";
ora_parse($result,$query,0);
ora_bind($result, "desc", ":description", 32000);
ora_exec($result);
But the insert function here is wrong :
$query="INSERT INTO table (description) VALUES ( :description )";
ora_parse($result,$query,0);
ora_bind($result, "desc", ":description", 32000);
ora_exec($result);
i don't understand why ?
Can anybody tell me more on the ora_bind use ?