Using Interbase blob fields

From: Date: Wed, 17 Apr 2002 14:06:32 +0000
Subject: Using Interbase blob fields
Groups: php.general 
Request: Send a blank email to php-general+get-93325@lists.php.net to get a copy of this message
Currently, I am using the following code to read a blob field containing a string: $blob_info = ibase_blob_info($row->COMMENTS); $blob_len = $blob_info[0]; $bid = ibase_blob_open($row->COMMENTS); $req_comments = ibase_blob_get($bid, $blob_len); ibase_blob_close($bid); $req_comments = fix_string($req_comments); ibase_blob_echo($row->COMMENTS) echos the contents to the browser. Is there some way I can put the data into a variable or simplify the above code? Many thanks....... Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 todd@aristesoftware.com

« previous php.general (#93325) next »