I want to check if a string contains a specific word. such as
$a="Hello world";
I want to check world from the sentence.
Try this code !
<?php $a="Hello worl"; if (strpos($a, 'world') !== false) { echo 'sentence'; } ?>
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in