$sth1 = $dbh->query("SELECT * FROM `datafrom` where myid={$_POST['user']} ");
<?php
include_once ('seestats.php');?>
<div id="qoo-counter">
<a href="#">
<img src="images/010.png" alt="Укоротить ссылку"/>
<div id="qoo-counter-visits"><?=$num_rows;?></div>
<div id="qoo-counter-views"><?=$row['id'];?></div>
</a>
</div>