prepare("SELECT * FROM assets WHERE AssetTypeId = 10 AND CreatorId = :cid ORDER BY created DESC"); $owned->bindParam(":cid", $user->id, PDO::PARAM_INT); $owned->execute(); $owned = $owned->fetchAll(PDO::FETCH_ASSOC); $assets = ""; foreach($owned as $asset) { $assets .= '