Re: Searching a MySQL database?
| From: | James, Yz | Date: | Sun, 14 Jan 2001 22:26:16 +0000 |
| Subject: | Re: Searching a MySQL database? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34510@lists.php.net to get a copy of this message | ||
> Here are some queries of the above table with their results....
> bases='Ft. Worth' returns record 1
> bases LIKE '%Worth%' returns record 1
> bases LIKE '%Ft.%' returns 1 & 2
> bases LIKE '%' returns all records (in this case, 1 & 2)
>
> See?
That makes perfect sense. Thank you!