$sql_select = "SELECT * FROM order2 WHERE user_idor='$_SESSION[login]' LIMIT 1";
$result = mysql_query($sql_select);
$row = mysql_fetch_array($result);
do
{
if (!empty($row['cena']))
{echo "<td>".$row['cena']."</td>";}
}
while($row = mysql_fetch_array($result));
$result = mysql_result(mysql_query("SELECT sum(price) FROM order2 WHERE user_idor='$_SESSION[login]',0);