Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001072

RE: [PHP-DB] WHERE field = str From: Boget, Chris (Chris.Boget <email protected>)
Date: 07/25/01

> 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