[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