I have $sub = "abc"; and $subs[0] = "cde"; $subs[0] = "iyu"; $subs[0] = "abc"; .. .. .. $subs[50] = "xyx"; How to find whether $sub matches with any one of $subs[$i] I have used a for loop but it is returning true when $subs[$i] = "xxxxxabc". /Chandu ----------------------------------------------- Powered by MihiraMail, Fast secure & reliable Brought to you by Mihira Net Pvt Ltd.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php