FreeMED Opensource EMR/PM Software |
This function should only be used on a recordsetthat is run against a single table and sql should only be a simple select stmt with no groupby/orderby/limit ”Jonathan Younger” jyou@unila b.com nger $blobtype supports ‘BLOB’ and ‘CLOB’, default is BLOB of course.Usage to update a $blobvalue which has a primary key blob_id=1 into a field blobtable.blobcolumn: UpdateBlob(‘blobtable’, ‘blobcolumn’, $blobvalue, ‘blob_id=1’); Insert example$conn->Execute(‘INSERT INTO blobtable (id, blobcol) VALUES (1, null)’); $conn->UpdateBlob(‘blobtable’,’blobcol’,$blob,’id=1’); |