Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Mysql Select Query by Perl

by aaron_baugher (Curate)
on Jun 22, 2012 at 12:41 UTC ( [id://977838]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $name = 'Smith';
    my $st = $db->prepare( qq| SELECT * FROM mytable WHERE customer = '$na
    +me'; | );
    ...
    my $name = 'Smith';
    my $st = $db->prepare( q| SELECT * FROM mytable WHERE customer = ?; | 
    +);
    $st->execute($name) or die $DBI::errstr;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://977838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found