Monday, November 15, 2010

If Statement

Example :
$my_name = "candra";

if ( $my_name == "candra" )
{
echo "Your name is candra!";
}
echo "Welcome to my homepage!";
Display :

Your name is candra!
Welcome to my homepage!

No comments:

Post a Comment