View Single Post
03-03-2007, 02:16 PM
#8
bluesaga is offline bluesaga
Status: Member
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 137
iTrader: 1 / 100%
 

bluesaga is on a distinguished road

  Old

Originally Posted by Andrew R View Post
WarlordTony, I'm sure he declares it in a config.php file.
PHP Code:
$query sprintf("SELECT password FROM %s_admin WHERE admin_name='%s'"$prefix$cookie[1]);
$result mysql_query($query); 
Try that.
Warlord tony is correct, how can he declare a variable and call it WITHIN a function without using globals?

Id imagine this is the source of his errors aswell.