note 20947 added to function.ibase-blob-open

From: Date: Tue, 23 Apr 2002 01:41:37 +0000
Subject: note 20947 added to function.ibase-blob-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-29712@lists.php.net to get a copy of this message
As these arn't documented very well at the moment, I thought this might help clarify this call for some people: $sql = "SELECT * FROM table"; $result = ibase_query( $db, $sql ); $data = ibase_fetch_object( $result ); $blob_data = ibase_blob_info( $data->BLOB_VALUE ); $blob_hndl = ibase_blob_open( $data->BLOB_VALUE ); print ibase_blob_get( $blob_hndl, $blob_data[0] ); Whilst this example doesn't do much more than a 'ibase_blob_echo( $data->BLOB_VALUE )' would do, it does show you how to get information into a $variable to manipulate as you please. -- http://www.php.net/manual/en/function.ibase-blob-open.php http://master.php.net/manage/user-notes.php?action=edit+20947 http://master.php.net/manage/user-notes.php?action=delete+20947 http://master.php.net/manage/user-notes.php?action=reject+20947

« previous php.notes (#29712) next »