connect ( ); $database->prepare ( "SELECT links.ID, links.URL FROM links WHERE links.created_by = " . $_SESSION [ 'user_id' ] ); $database->execute ( ); $result = $database->get_result ( ); $row = $result->fetch_assoc ( ); ?>