PHP jump to other page

Patrick Newberry PNewberry at habitat.org
Wed Oct 4 18:47:24 UTC 2006


 make sure you don't echo / print   anything out before you modify the
header or you'll get an error trying to modify the header after starting
a page. 
 
pat
www.gypsyfarm.com
 


	


		well, I know that this is not PHP forum, but I'm sure
there is a lot 
		of PHP expert here. So allow me to ask some problem
here:


	though not an expert, 
	
	this will work, but research regarding usage of _header_
	
	
	
	IF (statement) 
	{
	  //do nothing
	}
	ELSE
	{
	 header("Location: index2.php")
	}
	
	   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061004/1b0cb8cb/attachment.html>


More information about the ubuntu-users mailing list