[PHP-DB] DB2 - wrong number of parameters

2006-07-17 Thread Pablo Garay
Hi! I´m working with PHP 5 and using the DB2 database. I´m trying to update a jpg file, that´s save on the database. here´s the code: $fp = @fopen($caminho/$nome_arquivo, 'r'); $content = fread($fp, filesize($caminho/$nome_arquivo)); $content = bin2hex($content);

Re: [PHP-DB] DB2 - wrong number of parameters

2006-07-17 Thread Chris
Pablo Garay wrote: Hi! I´m working with PHP 5 and using the DB2 database. I´m trying to update a jpg file, that´s save on the database. here´s the code: $fp = @fopen($caminho/$nome_arquivo, 'r'); $content = fread($fp, filesize($caminho/$nome_arquivo)); $content =