Uses placeholders to prevent SQL injection but I would still validate the $url if it's comming from outside the script.my ($post) = $dbh->selectrow_array("SELECT post FROM tablename WHERE u +rl=?", {}, $url);
In reply to Re: Mysql select and store one field
by nedals
in thread Mysql select and store one field
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |