Using placeholders can avoid all kinds of pitfalls.my $sth1 = $dbh->prepare("select username from user where address=?"); $sth1->execute($address);
Cheers - L~R
In reply to Re: Can't pass email address in SQL select statement
by Limbic~Region
in thread Can't pass email address in SQL select statement
by davart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |