?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: If/If Else/else statement
Author:??(213.146.146.---)
Date:???07-08-03 02:06

You may wish to take a look at the SWITCH function, however here is your code.

if($go=="" || $go=="news"){
include("show_news.php");
}elseif($go=="headlines"){
include("show_headlines.php");
}elseif($go=="archives"){
include("show_archives.php");
}elseif($go=="search"){
include("search.php");
}else{
header("Location: http://www.example.com/");
exit();
}
?>

?Topics Author? Date
?If/If Else/else statement??new
James 07-08-03 00:12?
?Re: If/If Else/else statement??new
martin 07-08-03 02:06?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum