Answers for "php if statement when string has words"

PHP
6

php find if string contains

if (strpos($string, 'substring') !== false) {
	// do stuff 
}
Posted by: Guest on August-25-2020

Browse Popular Code Answers by Language