how do i solve this php error message? i have tried i still was unable to
function confirmUserID($session_id, $userid) { /* Verify that user is in database */ $query = "SELECT session_id FROM user_sessions WHERE session_id = '$session_id' AND userid = '$userid'"; $stmt = $this->db->prepare($query); $stmt->execute(array(':userid' => $userid, ':sessionid' => $session_id)); // Error message indicates it…