<?php
$con = mysql_connect("localhost", "root", "") or die("Could not connect: " . mysql_error());
mysql_select_db("cb_db");
$xx = $_SESSION['LOGINAS'];
$url = $row['id'];
$result = mysql_query("SELECT * FROM `video_album` WHERE `login` = '$xx'") or die(mysql_error());
while ($row = mysql_fetch_array($result)) {
echo "$url";
}
mysql_close($con);
?>