phpbar.de logo

Mailinglisten-Archive

Re: [CGI] Perl and mySQL
Archiv Mailingliste mysql-de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CGI] Perl and mySQL



Hi!

-->> $sth = $dbh->prepare("SELECT * FROM innlegg WHERE tekst LIKE $text");

This will find only exact matches.
Try '%$text%' to find it anywhere in the field.

Falk


---
*** Abmelden von dieser Mailingliste funktioniert per E-Mail
*** an mysql-de-request_(at)_lists.4t2.com mit Betreff/Subject: unsubscribe


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive