0

I'm trying to display image to my website that is stored in Oracle database as datatype BLOB. I am using Codeigniter for develop my site. I tried many ways, but I got nothing. Can someone please specify me what will be the Controller code, model code, and view?

thanks in advance.

1 Answer 1

1

When loading oracle blobs I have had to use it like this

$results['blob_data']->load();

The ->load() is an object that is passed back from the oci8 methods.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for contributing with me but I used "->load()" for showing text data. its working for display text from BLOB datatype field but not working for stored image as blob datatype. I need to display image, which is stored in Oracle database as BLOB datatype.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.