if elseif else help
How would I code something like this?
if isset something{
do this
}elseif isset something AND something empty {
do this
}else {
do this
}
I have this but it's not working...any help....
PHP:<?php
if(isset($_POST["submit"])){
do this
}elseif(isset($_POST["submit"])) || (empty($messages))){
do this
}else{
do this
}
?>
___________________
We are survival machines - robot vehicles blindly programmed to preserve the selfish molecules known as genes.
- Richard Dawkins
Last edited by JustEvolved, January 27th, 2004 08:48 PM (Edited 1 times)
