HOME BLOG PORTFOLIO PHOTO CONTACT Admin Login
IF-ELSE method

IF-ELSE method1:

if ($foo);

echo “yepn”;

elseif ($bar);

echo “almostn”;

else;

echo “nopen”;

endif;

IF-ELSE method2:

if ($foo){

echo “yepn”;

}elseif ($bar){

echo “almostn”;

}else{

echo “nopen”;

}

   Share on Facebook

Page views:440