Hello, I have a big problem on a if function ??sorry about bad english
![]()
if user IP is not a same like in $adminip field and paid=="0", script should load popup, but if IP is a same like in $adminip and paid=="0" script should not load this popup.
if paid=="1" or something else Nothing should happen
PHP Code:if ($paid=="0") {
$sql = "select html from $tableads where format='popup'";
$result = mysql_query($sql) or die("Failed: $sql");
$resrow = mysql_fetch_row($result);
$popup = $resrow[0];
}



sorry about bad english

Bookmarks