Hi I am tring to Insert a blob into an Informix db. Here is what the function is...
ifx_create_blob -- Creates an blob object
Description
int ifx_create_blob (int type, int mode, string param)
Creates an blob object.
type: 1 = TEXT, 0 = BYTE
mode: 0 = blob-object holds the content in memory, 1 = blob-object holds the content in file.
param: if mode = 0: pointer to the content, if mode = 1: pointer to the filestring.
Return FALSE on error, otherwise the new blob object-id.
This is what I am doing...Thanks for any help...
$text_id=ifx_create_blob(1,1,$desc);
$blobidarray[]=$text_id;
$insertEvent="INSERT INTO isco16.events (evt_title, evt_strt_dtd, evt_end_dtd, fac_cd)
VALUES('$title', '$strtDate', '$endDate', 'AV')";
$insertNewEvents=ifx_query($insertEvent, $dbConnection, $blobidarray) or die("Query failed");