RE: [PHP] mysql query with php
| From: | Jason Davidson | Date: | Tue, 09 Mar 2004 21:22:06 +0000 |
| Subject: | RE: [PHP] mysql query with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179928@lists.php.net to get a copy of this message | ||
or just read the manual at mysql.com ..
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote:
>
> [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'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>