![]() |
|
|
|
|
|
|
5
20th November 08:27
External User
Posts: 1
|
Make the database do the work if possible.
mysql> select * from a where a like '%MOZILLA%'; +---------+ | a | +---------+ | Mozilla | | MOZILLA | +---------+ 2 rows in set (0.00 sec) mysql> select * from a where a like BINARY '%MOZILLA%'; +---------+ | a | +---------+ | MOZILLA | +---------+ 1 row in set (0.00 sec) -- Postgresql & php tutorials http://www.designmagick.com/ |
|
|
6
20th November 08:28
External User
Posts: 1
|
Make the database do the work if possible.
mysql> select * from a where a like '%MOZILLA%'; +---------+ | a | +---------+ | Mozilla | | MOZILLA | +---------+ 2 rows in set (0.00 sec) mysql> select * from a where a like BINARY '%MOZILLA%'; +---------+ | a | +---------+ | MOZILLA | +---------+ 1 row in set (0.00 sec) -- Postgresql & php tutorials http://www.designmagick.com/ |
|
|
|
| Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php |