php echo

120

<?php
   $motto = " my first book   ";
   $newMotto = str_replace("first", "best", $motto);
   $newMotto = trim($newMotto);
   echo "<p> $motto </p>";
   echo "<p> $newMotto </p>"; 
   echo substr($newMotto, -4);
 ?>
<?php
echo "Hello Softhunt Community";
?>
<?php echo 'Je suis colorié par highlightJS !' ?>
<?php
   session_start();
   if (isset($_SESSION['school']) && isset($_SESSION['course']))
      echo "<p> Your choice is " .  $_SESSION['course'] . 
           " in ". $_SESSION['school'] . ". </p>";
 ?>
echo "hello"

Comments

Submit
0 Comments