Quantcast
Channel: Ulyssesonline » pattern matching
Browsing latest articles
Browse All 2 View Live

Replace eregi with preg_match

A couple of weeks ago, I wrote a small PHP code to validate if the url being passed is in fact valid. I used a regular expression and PHP’s eregi function to find a pattern match. Looking back, the...

View Article



Adding FULLTEXT Search

A few days ago, I wrote an article on how to add a search feature in CodeIgniter projects. The method I used was “Pattern Matching” using SQL’s LIKE statement. Although the LIKE statement works great,...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images