hi....
i want to write the query
select * from user where name = "richard"; in perl
the string richard i have taken that in the variable $name.
i have written the query as below
is this correct way of writing in perl?
i want to write the query
select * from user where name = "richard"; in perl
the string richard i have taken that in the variable $name.
i have written the query as below
Code:
$sth = $dbh -> prepare('select * from user where name = "$name"');
Comment