You must be loged in to see your pastes!'); $conn = null; echo '
'; die(); } $stmt = $conn->prepare('SELECT * FROM pastes WHERE owner=:own'); $stmt->bindParam(':own', GetUsersIDBySession($_COOKIE["pp_sid"],$_COOKIE["pp_skey"])); $stmt->execute(); if($stmt->rowCount()>0){ echo ""; printf(''); printf(''); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) { $title = $row['title']; printf(''); printf(''); printf(''); } printf(''); } else { printf('

You havent made any pastes yet!

'); } $conn = null; ?>
Title Added ID
'.htmlspecialchars($row["title"], ENT_QUOTES, 'UTF-8').''.date('Y-m-d',$row["created"]).''.htmlspecialchars($row["uid"], ENT_QUOTES, 'UTF-8').'