RE: [PHP] mysql query with php
| From: | Jay Blanchard | Date: | Tue, 09 Mar 2004 21:15:20 +0000 |
| Subject: | RE: [PHP] mysql query with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179927@lists.php.net to get a copy of this message | ||
[snip]
I just can't find the forum for any mysql.
[/snip]
http://www.mysql.com/doc/en/Mailing-list.html
[snip]
anyways maybe someone run into this kind of problem, i'm saving in a db
records of company and in a column i have numbers i.e 1,2,12,31,32 so
if want to search a company that has number 2 i do category REGEXP '2'
but the problem it will return numbers 12, 32 but I just want two.
[/snip]
select company from table where category = '2'