Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: sql select with array

by Ranna (Acolyte)
on Oct 23, 2001 at 07:41 UTC ( [id://120700]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare("SELECT " . '? ' x $#selector . "FROM people WHER
    +E (fornavn LIKE '%$search%') or (eternavn LIKE '%$search%') or (cpr L
    +IKE '%$search%'", \%attr); #dunno if you can do the \%attr part...
    $sth->execute(@selector);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found