Re: mysql_query
| From: | Chris Knipe | Date: | Sun, 06 Jul 2003 17:50:31 +0000 |
| Subject: | Re: mysql_query | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154138@lists.php.net to get a copy of this message | ||
> one last question for the day...
> if in one cell i have two names..... ex 'mary eleanor'
> and i want to search by typing 'ele' with name LIKE '$name%' will not
give
> me mary eleanor as a result...
> any ideas?
*sighs*
LIKE '%$name%'
As I said... Read the MySQL Manual.