Why is this code for a successful query and query where there is no result
user_id = 1; // or 5000 $user = Users::findFirst("id = '$user_id'"); count($user);
always outputs 1
Why if the user does not count it zero?
Why is this code for a successful query and query where there is no result
user_id = 1; // or 5000 $user = Users::findFirst("id = '$user_id'"); count($user);
always outputs 1
Why if the user does not count it zero?