Page 1 of 1

Problem with Redirect (Show Blank page)

Posted: Fri Jul 25, 2008 12:34 pm
by mapperkids
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

Re: Problem with Redirect (Show Blank page)

Posted: Fri Jul 25, 2008 12:58 pm
by ghurtado
What happens if you just go to index.php?page=message directly?

Re: Problem with Redirect (Show Blank page)

Posted: Fri Jul 25, 2008 1:10 pm
by mapperkids
ghurtado wrote:What happens if you just go to index.php?page=message directly?
I tried that, same blank page and i even put some text at the beginning of that page, but still nothing come up.

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'> &nbsp; ". $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)

Posted: Fri Jul 25, 2008 3:42 pm
by ghurtado
You say thats the "message" page. Can you show us index.php?