prepare($sql); $stmt->bind_param('i', $id); $stmt->execute(); //$_SESSION['hasVoted'] = '1'; return "Thanks for voting!"; } ?> Process Survey "; ?>