RE: [PHP-DB] Problem retrieving/updating data from InterBase

2003-03-19 Thread May, Patrick
Vincent, > currently I'm working with an Interbase 6.0 database and I > want to insert > some text (and eventually a picture) to a blob field. I've found the > following php code: > > $bid = ibase_blob_create(); > ibase_blob_add($bid, "test"); > $comments_blob = ibase_blob_close($bid); > $sql =

[PHP-DB] Problem retrieving/updating data from InterBase

2003-03-18 Thread Vincent Verhoeven
Hi, currently I'm working with an Interbase 6.0 database and I want to insert some text (and eventually a picture) to a blob field. I've found the following php code: $bid = ibase_blob_create(); ibase_blob_add($bid, "test"); $comments_blob = ibase_blob_close($bid); $sql = "UPDATE tblcontent SET M