codice:$stringa="ciao a tutti"; $match="ciao"; if(preg_match("/\b$match\b/i",$stringa)) echo "TROVATO"; else echo "NON TROVATO";
![]()
codice:$stringa="ciao a tutti"; $match="ciao"; if(preg_match("/\b$match\b/i",$stringa)) echo "TROVATO"; else echo "NON TROVATO";
![]()
think simple think ringo