IF Statement In PHP

25 June 2012

 

Bangalore : 
<html>
<head>
<title>IF statements in PHP.</title>
</head>
<body>
<?php
$name = “Rose”;
if ( $name == “Rose” )
echo “Your name is Rose!<br />”;
else
echo “Welcome to my homepage!”;
?>
</body>
</html>
Output:
If the Given input is Rose,the output will be
Your name is Rose!
Else
Welcome to my homepage!

Web Application Development

 

Why Fortune Innovations?

  • Save your project cost up to 40%
  • Hire Remote Web Developers & Web Designers
  • Global performance based project management
  • 50 plus strong development team based in Bangalore, India.
  • Innovative team members with Web 2.0 expertise
  • Quality driven delivery service model
  • Detail Time Sheets & Daily Reporting

Monthly archive

  • WordPress Development in Bangalore
  • Drupal Development in Bangalore
  • Joomla Development in Bangalore
  • eCommerce Magento Bangalore
  • Web Development Bangalore
  • Web Development Bangalore
  • jQuery development company
  • Zend framework development Bangalore
  • Airline IBE GDS Integration Navitaire Bangalore
  • Airline IBE GDS Integration Aamadeus Bangalore