check if string has this word php
$a = 'How are you?';
if (strpos($a, 'are') !== false) {
echo 'true';
}$a = 'How are you?';
if (strpos($a, 'are') !== false) {
echo 'true';
}
Also in PHP:
- blob image to base64 php
- convert php string to uppercase
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; m ax key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`e mail`))
- array associativo php
- error_reporting function not working
- date time with am pm in php
- .net base64 encode decode in php
- check backend post type
- application of laravel
- a lot of names strtoupper
- display errr php
- codeigniter insertID
- check substring php
- alert laravel 7
- creating new laravel project using composer
- create directory in directory php
- cache clear in laravel command
- catch exception in php
- check if part of string php
- check if key exists in associative array php
- ERROR: Could not enable dependency mpm_prefork for php7.4, aborting
- Class 'App\Http\Controllers\Admin\Route' not found
- disable register auth laravel
- console.log on php