codrgii Posted December 11, 2010 Share Posted December 11, 2010 In php, which function is best used to act something like the sql "LIKE" command? and how would that function be used like? Link to comment https://forums.phpfreaks.com/topic/221287-php-question/ Share on other sites More sharing options...
Yucky Posted December 11, 2010 Share Posted December 11, 2010 Your question doesn't really make any sense. What are you trying to achieve? Link to comment https://forums.phpfreaks.com/topic/221287-php-question/#findComment-1145659 Share on other sites More sharing options...
trq Posted December 11, 2010 Share Posted December 11, 2010 preg_match can be used to find strings matching patterns. Link to comment https://forums.phpfreaks.com/topic/221287-php-question/#findComment-1145661 Share on other sites More sharing options...
jamesxg1 Posted December 11, 2010 Share Posted December 11, 2010 Like Thorpe said, http://www.php.net/preg_match. James. Link to comment https://forums.phpfreaks.com/topic/221287-php-question/#findComment-1145723 Share on other sites More sharing options...
PaulRyan Posted December 11, 2010 Share Posted December 11, 2010 Alternatively you could have a look at similar_text() Link: http://php.net/manual/en/function.similar-text.php Regards, Paul. Link to comment https://forums.phpfreaks.com/topic/221287-php-question/#findComment-1145751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.