Answers for "check if value exist php"

PHP
0

check exist string in string php

$myString = 'Hello Learn Tech Tips (Zidane)?';
if (strpos($myString, 'Zidane') !== false) {
    echo "This string contains Zidane";
}
Posted by: Guest on November-04-2021
3

if exist php

if (isset($var)) {
  // Code here
}
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language