Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

DBD-SQLite Regexp

by welle (Beadle)
on Nov 26, 2012 at 17:41 UTC ( #1005725=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $results  = $dbh->selectall_arrayref("SELECT ID, sentence  FROM texts 
    +WHERE sentence LIKE '%$query%'"
    
  2. or download this
    $results  = $dbh->selectall_arrayref("SELECT ID, sentence  FROM texts 
    +WHERE sentence LIKE ' %$query% '"
    <\code>
    ...
    sentence2= "Put a tag around your paragraphs"
    sentence3= "I am tagging your paragraphs"
    sentence4= "There are many advantages"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005725]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (18)
As of 2015-07-07 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls