BLOBs and Interbase

From: Date: Mon, 21 Aug 2000 12:40:20 +0000
Subject: BLOBs and Interbase
Groups: php.general 
Request: Send a blank email to php-general+get-12752@lists.php.net to get a copy of this message
Sorry for putting this question here, but I did not get any reply from the php-db list. I guess it does not have many subscribers. I need to insert text blobs into Interbase tables from PHP. A quick glance in the C source code reveals that there should be support for BLOBS, and many people seem to use it, even if the blob functions are not documented. I have tried the following: $blob = ibase_blob_create(); ibase_blob_add($blob, "Hello"); ibase_blob_close($blob); ibase_query("insert into Table(text) values ($blob)"); which yields an error message: Warning: InterBase: conversion error from string "BLOB" in <file> on line <line>. $blob seems to be a numerical ID. Please help! -- / Johan -- johan@tiq.com -- http://www.obsession.se/johan/ --

« previous php.general (#12752) next »