redirect a page with params

admin

Administrator
Staff member
Hi,
I have problems on redirecting a page
with parameters

if(has_recors)
{
include("main.php?id=$PIN&name=$mname")
}
else
{
include("loginerror.htm");
}

this code only work if i change include("main.php?id=$PIN&name=$mname") for include("main.php");

thes two files are in the same directory

Can anybody helpme?
 
Back
Top