$rowik = mysqli_fetch_assoc(mysqli_query("SELECT * FROM sites WHERE url='$url1'"));
$idurl = $rowik['id'];
$siteurl = $rowik['url'];
if ($siteurl = $url1) {
$sql = "INSERT INTO urlzakaz (id, idurl, siteurl, count) VALUES ( '', '$idurl', '$siteurl', '$count1')";