redirection problem

i am trying to redirect using an if statment please help p.s its important it loads into the shadow frame
[php]
if ($i = 1){

}
else{
// do nothing
}
[/php]

What do you mean by shadow frame?

First of all, you can’t just put your HTML into PHP. You must put in into a string and then output it, for example with the function echo:

[php]if ($i = 1){
echo ‘’;
}
else{
// do nothing
}[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service