Re: WHERE field = str
| From: | phpnet at SeaPort6 dot com | Date: | Wed, 25 Jul 2001 18:45:56 +0000 |
| Subject: | Re: WHERE field = str | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10765@lists.php.net to get a copy of this message | ||
Thanks Chris
I searched everything I could think of. Where should I have found this is the manual?
Dave
| > I am trying to find a str within a field using a select statement like
| > SELECT * FROM tablename WHERE fieldname has the string within it
| > Is there a way to do this?
|
| WHERE fieldname LIKE "%$string%"
|
| Chris
|
dave@SeaPortNet.com
SeaPortNetHosting: Reliable Web Hosting
Plans from $17.95 www.yourname.com
http://www.SeaPortNet.com/
1(209)551-7028