Answers for "strpos() expects parameter 1 to be string, object given"

PHP
0

strpos() expects parameter 1 to be string, object given

$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Posted by: Guest on June-07-2021
0

strpos() expects parameter 1 to be string, object given

strpos($post_id, 'user_')//here $post_id is array
Posted by: Guest on June-07-2021

Code answers related to "strpos() expects parameter 1 to be string, object given"

Browse Popular Code Answers by Language