View Single Post
Old 02-15-2004, 07:44 AM  
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,637
strstr($string, "string")

find the first occurance of "string" in $string ... this command is pretty useful.

in your case...

if (strstr($string, "UHH")) { echo "YES.. UHH is in string!" }
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote