prepare($sql); $stmt -> setFetchMode(PDO::FETCH_ASSOC); $stmt -> execute() ; $result = $stmt -> fetchAll() ; echo "