PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

PHP If Statement

To understand if statement consider the following script.

<?php
$apples="3";
if($apples=='3')
{
echo "Correct";
}
?>

The output will be correct because apples are 3. It is about that if apples are 3 then print correct.

  • Share/Bookmark
Tags:
Posted in: PHP Basics, if
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0

Related Posts




Post a Comment

  Subscribe Via RSS
  Subscribe Via Email