?

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

?
?If/If Else/else statement
Author:?James?(---.stmnca.adelphia.net)
Date:???07-08-03 00:12

I have a statement of:
-------------------
if($go=="" or $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");
}
?>
--------------------

I want to add an "else" statement under all of this so that if something NOT one of these is selected (i.e. $go==asdf) it will go to a specific, different page. thanks.

?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