$url = htmlspecialchars($_GET['url']);
$sql2 = mysql_query("SELECT * FROM paspaudimai WHERE url = '$url' ");
if (mysql_num_rows($sql2) != 0) {
$sql = mysql_query("UPDATE paspaudimai SET paspausta = 'paspausta + 1' WHERE url = '$url'");
}
else {
$sql = mysql_query("INSERT INTO paspaudimai VALUES ('$url', '1')");
}