I have this piece of code for a while statement...
Code: Select all
$checkweb = MYSQL_QUERY("SELECT url FROM web WHERE clientid = '$id'");
while ($row = mysql_fetch_assoc($checkweb)) {
$checkurl = $row['url'];
}Code: Select all
if ($url == $checkurl) {
//DO THIS
}Thanks