Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display the content of a BLOB field

Status
Not open for further replies.

bob1660

MIS
Jul 14, 2007
6
ZA
I would like to execute a select query in PHP to return the text in a BLOB field. I have a Firebird 2.0 database. The BLOB field contains technical specifications on products. Can someone please help me with the sql sytax. When I query the BLOB field, it only returns an "image" and not the text.
 
Not familiar with PHP over FireBird but I'll have a stab, the SQL syntax shouldn't really affect what you are doing, as long as you are doing something like this:

select my_blob from my_table where my_table_pk = x

Then as long as you have defined the BLOB sub type as text you should be able to get at it.

Here are some URLs I came across...



ujb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top