Hi,
I'm try to use statement below to redirect the other page, but all i get is refresh with a blank page,but I look at the URL on the browse of that blankpage, it show the URL correctly. Any idea
redirect("index.php?page=message");
Thanks a lot
Problem with Redirect (Show Blank page)
Moderator: General Moderators
-
mapperkids
- Forum Newbie
- Posts: 15
- Joined: Mon Feb 11, 2008 8:53 pm
Re: Problem with Redirect (Show Blank page)
What happens if you just go to index.php?page=message directly?
-
mapperkids
- Forum Newbie
- Posts: 15
- Joined: Mon Feb 11, 2008 8:53 pm
Re: Problem with Redirect (Show Blank page)
I tried that, same blank page and i even put some text at the beginning of that page, but still nothing come up.ghurtado wrote:What happens if you just go to index.php?page=message directly?
Here are the code in the page "message"
====================================================
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td class="text"><span class="heading">Welcome to <?=getsettings(2,"",2);?>!</span><br>
<br><br><br>
<?=getsettings(8,"",2);?>
</td>
</tr>
<tr>
<td class="text"><span class="heading">
<?
if ($_SESSION["msg"]!='')
{
$temp=split("@",$_SESSION["msg"]);
for($i = 1; $i < count($temp); $i++){
echo "<img src='images/icons/help.gif'> ". $temp[$i] ."<br>";
}
}?>
</span><br>
<br>
</td>
</tr>
<tr>
<td colspan=2><img src="images/trans.gif" width="4" height="9"></td>
</tr>
</table>
<hr color="D6D6D6">
</table>
<?include("bottomad.html");?>
</td>
</tr>
</table></td>
</tr>
</table>
Re: Problem with Redirect (Show Blank page)
You say thats the "message" page. Can you show us index.php?