$advx = $dbh->prepare("SELECT * FROM varnist_advertisement LEFT JOIN varnist_adsrice ON varnist_adsrice.adsrice_hash = varnist_advertisement.advertisement_hash WHERE varnist_adsrice.adsrice_username = :adsrice_username LIMIT $where, $see");
$advx->execute(array(
":adsrice_username" => $_SESSION['inf_user_nickname']
));
foreach($advx as $row) {
}