Quote:
|
Originally Posted by nmcog
I'd do that if I knew how 
I ripped out code from TGP Rotator and edited it...
This part of the code I think is slightly wrong and could be done another way?
Code:
$result = mysql_query("SELECT URL FROM Sponsors WHERE Domain='$domain'") or die ("Invalid entry!");
$output = mysql_fetch_row($result);
$url = ($output[0]);
|
you might benefit from using
PHP Code:
$url = mysql_result($result, 0);