query('SELECT * FROM pastes WHERE uid="'.$uid.'"'); if($result = $stmt->fetch(PDO::FETCH_ASSOC)){ echo "

".$result["title"]."

"; echo ""; } else echo "Paste does not exist"; } else echo "Error: id not set"; ?>