Webmaster's Community
Designing and Development => Programming => Topic started by: Rahul Kaushik on January 12, 2012, 02:09:32 PM
-
HI,
I am new to php and i want to learn it very deeply i want to use the IF inside the ELSE part
can it will work well .pls help me
thanks
-
Yes, you can use if statement inside else.
You can use either elseif , it simply means that if no previous condition is true then it will look this condition, however, in this condition it will also check condition given.
Other way is :
if ()
{
......
}
else
{
if(new condition)
{
}
}