That line should be:
my $sql = "SELECT * FROM final WHERE pat = ? and ped = ?";The second WHERE is an error, per my reading of the MySQL documentation.
In reply to Re^3: Help my syntax
by chromatic
in thread Help my syntax
by ArmandoG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |