php and informix blob

This is a discussion on php and informix blob within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I am running PHP 4.2.3 with Informix Dynamic Server 2000 Version 9.20.HC. I am trying to ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2004
Eric Jamison
 
Posts: n/a
Default php and informix blob

I am running PHP 4.2.3 with Informix Dynamic Server 2000 Version 9.20.HC. I
am trying to insert some text into a blob space and I get a -609 error.

here is a code snipit.

$textid = ifx_create_blob(0,0,$strText);

$blobidarray[] = $textid;

$db_query = "insert into assignment_info
(user,emp_ext,status,hardware_id,emp_assigned_id,d esc)
values('$strEmp_Name','$strEmp_Ext','1','$strSubCa tegory','0',?)";
$result = ifx_query($db_query, $connection, $blobidarray);
if (!$result)
{
echo ifx_errormsg();
}
else
{
ifx_free_result($result);
}

I don't what I am doing wrong. Either the php is bad or my creation of the
blob space and the column are bad.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:01 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0