I use DB2 and I have a Long Varchar field. I need use host variables to
insert.How I make is in php ?
Ex.: (this code not insert datas because descr=long varchar)
$query = "insert into tb_public values ('$cod','$descr','$codr')";
I need a function in php or a mode to declare host variables :
$query = "insert into tb_public values ('$cod',:descr,'$codr')";
Thank.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]