Originally Posted by Andrew R
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.