Subject RE: [firebird-php] ezSQL Vs ADOdb
Author Alan McDonald
ahhh yeah but ADOdb, by default, brings back blob contents as HTML escaped
code... bit of a nuisance when you're storing HTML text in blobs..
in any case the ez_sql was reasonably easy to fix
a line
while ( $row = @ibase_fetch_object($this->result) )
needed to be
while ( $row = @ibase_fetch_object($this->result, IBASE_TEXT) )

the optional IBASE_TEXT flag brings back the contents of blobs not the blob
id.
strange that the interbase.dll uses blob id as it's default since it's
pretty useless client side but there you go..
obvioulsy ADOdb already sussed this and fixed their code as well. Maybe
someone at PHP doing the interbase/firebird stuff should change it? What's
the use of bringing back blob IDs?

regards
Alan
-----Original Message-----
From: Lester Caine [mailto:lester@...]
Sent: Tuesday, 21 October 2003 10:59 PM
To: firebird-php@yahoogroups.com
Subject: [firebird-php] ezSQL Vs ADOdb


> don't suppose adodb has any problems with blobs do they? it woul
appear at
> first test that ez_sql is returning the blob id and not the blob

I have BLOB's in Text boxes in my ADOdb packages ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services



Yahoo! Groups Sponsor
ADVERTISEMENT




To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]