Since upgrading to FC4-test3 which has version 1.4.1 of DBD-Pg
installed, placeholders no longer work for example the following code

 $cat='1';
#$cat=param('Category');
print $cat;
print start_multipart_form (POST,'con_upd.pl');
$row=$dbh->prepare("SELECT type_code FROM lk_sort_of_contact WHERE description 
= ?");
$row->bind_param(1,$cat);
$row->execute();

results in
DBD::Pg::st execute failed: ERROR:  syntax error at or near "$1" at character 1
DBD::Pg::st fetchrow_array failed: no statement executing
Use of uninitialized value in print at /home/www/cgi-bin/con_by_role_sel2.pl 
line 22.

anyone any ideas what is happening here?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to