<?php
$a =10;$b=5;
if($a>=$b){
echo "The value of a is greater than b";
}elseif(($a-$b)==$b){
echo "The value of a-b is equal b";
}else{
echo "The conditions are false";
}
?>
This is the basic If...elseif...else Condition in PHP for beginners.
<?php
setcookie("cookie_name","cookie_value",time()+60,"/");
echo $_COOKIE['cookie_name'];
$_SESSION['session_name']="session_value";
echo $_SESSION['session_name'];
?>
When you are using COOKIE, you can set the expiry of it. So that if the COOKIE did not meet the expiry you can...
Sa panahon ngayon, napakahalaga ng Internet Connection sa isang Estudyanting katulad ko. Napakalaking tulong nito sa aking pag-aaral, lalo pa't ang Course ko ay InfoTech. Some of my Homeworks... Case Studies... can be found in the internet or more on research.
Kung kaya't ng matoto akong...