Thread: PHP Question
View Single Post
Old 04-18-2005, 03:41 PM  
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
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]);

well the code itself is good! but it depends...not sure what you want to do ;)
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote