Hi
i'm new to Perl so sorry if my question sounds stupid
i try to query my Mysql database using:
$test="<script>document.write(top.identif);</script>";
$sth = $dbh->prepare(q{SELECT * FROM comptes WHERE Login=$test});
$sth->execute();
but it doesnt work
where is the problem? cause i already spent hours for nothing
thanx
i'm new to Perl so sorry if my question sounds stupid

i try to query my Mysql database using:
$test="<script>document.write(top.identif);</script>";
$sth = $dbh->prepare(q{SELECT * FROM comptes WHERE Login=$test});
$sth->execute();
but it doesnt work
where is the problem? cause i already spent hours for nothing

thanx