http://expert.csdn.net/Expert/topic/1141/1141706.xml?temp=.7269403

解决方案 »

  1.   

    $stmt = OCIParse($conn,"INSERT INTO PICTURES (id, description, picture) VALUES (pic_seq.NEXTVAL, '$description', '$lob_upload_type', EMPTY_BLOB()) RETURNING picture INTO :PICTURE"); 
    sql不对,分解:
    $sql="INSERT INTO PICTURES (id, description, mime,picture) VALUES (pic_seq.NEXTVAL, '$description', '$lob_upload_type', EMPTY_BLOB()) RETURNING picture INTO :PICTURE";