in reply to Problem in passing value to a PL/SQL block
where custdata2.code = ?; [download]
$sth->execute($user_location) or die $dbh->errstr; [download]