Hi,
I have register globals turned on, but i have a script that when a form is posted, the variables are not passed on.
In the script at the top if i just go echo $dbhost; it works.
However, if i have something like
if (!isset($var1))
{
$dblink=@mysql_connect($dbhost, $dbuser, $dbpass);
}
The variables are not passed on. Any ideas?
I have register globals turned on, but i have a script that when a form is posted, the variables are not passed on.
In the script at the top if i just go echo $dbhost; it works.
However, if i have something like
if (!isset($var1))
{
$dblink=@mysql_connect($dbhost, $dbuser, $dbpass);
}
The variables are not passed on. Any ideas?








