V
V
Vladislav Shchekoldin2012-03-02 13:44:11
PostgreSQL
Vladislav Shchekoldin, 2012-03-02 13:44:11

Zend Framework + bytea postgres data?

Question following: in a DB made the table for storage of files.
View:
title text, thumbnail bytea, original bytea
However, when selecting in the field with the value of the file itself:
select title, thumbnail from tablesent via Zend_Db_Select
, the system in the thumbnail field for some reason answers:
Resource id #129...
How to win?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DoubleG, 2012-06-05
@DoubleG

php.net/fread
I picked it out like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question