with the like command you could made search such as :
SELECT & FROM my_table WHERE 'email' LIKE '%3@hotmail.%'
and you could have several answer.
= is for scrict equality
Tristan.Pretty@xxxxxxxxxxxxxxxx wrote:
What's teh diffence between 'LIKE' & '=' EG: SELECT & FROM my_table WHERE 'email' LIKE '123@xxxxxxxxxxx'
I've just purchased an E-mail marketing piece of software, and was
peakign in the code...
Found that... Never seen it before (Have I been living in a box?)
Cheers, Tris...
*********************************************************************
The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
***********************************************************************
-- Alban Médici R&D software engineer ------------------------------ alban.medici@xxxxxxxxxxxxxxxxx http://www.netcentrex.net ------------------------------
-- Alban Médici R&D software engineer ------------------------------ you can contact me @ : IPPhone : +33 (0)2 31 46 37 68 alban.medici@xxxxxxxxxxxxxxxxx http://www.netcentrex.net ------------------------------
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php