Re: just going with LIKE

From: Date: Mon, 02 May 2005 19:58:26 +0000
Subject: Re: just going with LIKE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214350@lists.php.net to get a copy of this message
* Ross <ross@aztechost.com>: > Had a look at it and much easier to use LIKE with wildcards. Was unsure > whether the query was case sensitive that is why I asked. Missed the earlier post, so I don't know if you're using MySQL or not (other responses indicate you probably are). If you are, REGEXP in mysql works quite nicely, and are relatively fast (though not as fast as LIKE) when going through smaller sets of records -- I wouldn't use it for large sets of records, however. -- Matthew Weier O'Phinney | WEBSITES: Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org mailto:matthew@garden.org | http://vermontbotanical.org

« previous php.general (#214350) next »