IF Statement In PHP

Monday, August 23rd, 2010 PHP


 <title>IF statements in PHP.</title>


$name = "Rose";

if ( $name == "Rose" )

echo "Your name is Rose!<br />";


echo "Welcome to my homepage!";


If the Given input is Rose,the output will be

Your name is Rose!


Welcome to my homepage!

1 Comment to IF Statement In PHP

cna training
August 23, 2010

Wow this is a great resource.. I’m enjoying it.. good article

Leave a comment