$prepare = $db -> prepare("SELECT * FROM table WHERE a = ?"); $prepare -> execute(["value"]); Please tell me how to get the result of the SELECT in this case, because EXECUTE produces the type BOOL . Through QUERY, everything works directly, but how to do it through PREPARE ?