mysql query with php
| From: | tony | Date: | Tue, 09 Mar 2004 20:50:24 +0000 |
| Subject: | mysql query with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179926@lists.php.net to get a copy of this message | ||
Hi,
I just can't find the forum for any mysql. 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.
if anyone has an idea i will really appreciated it
Anthony