- Joined
- Nov 6, 2007
- Messages
- 880
- Reaction score
- 11
Lately i have seen people doing
That is not very secure, and can cuase errors. So today we learn the elseif statement .
OK, it is very simple, first it needs an opening if statment.
So perhaps for another acount you wanted it to say something else
So that would be an alternate to doing
Hope it helped
PHP:
if ( var == var ) {
echo "penis";
} else {
if {var == var) {
}
}
OK, it is very simple, first it needs an opening if statment.
PHP:
If ($Account == HotelUnder ) {
echo "hello HotelUnder";
}
PHP:
If ( $Account == HotelUnder ) {
echo "hello HotelUnder";
} Elseif ( $Account == Mental. ) {
echo "Welcome God";
}
PHP:
if ( var == var ) {
echo "penis";
} else {
if {var == var) {
}
}