PHP jump to other page

Groundhog linuxmurah at gmail.com
Thu Oct 5 04:22:14 UTC 2006


> Where was it in this you wanted a redirect?

after there are no error message, then jump to another page.

	if($error_msg==''){
		if($photo_paper == "on"){
                        ---->> Jump to index2.php
		} else {
			---->> Jump to index3.php
		}
	} else {
		echo "<font color=red>$error_msg</font>";
	}

> Oh and if the user enters an image that isn't a jpg is that meant to
> be an error?

YES

> btw Groundhog do you use IRC?

NO, why?

-- 
Come and Visit My Blog
http://ubuntu-ku.blogspot.com




More information about the ubuntu-users mailing list