Display using Echo


 syntax: 


  echo { parameter }, { parameter 2 }, . . ..


  ex.: 


  echo 'Hello, World';


  echo '"this is a string, with Quotes"';


  echo 'Thank You for Joining',

          'Mr. ', $visitor,

          ' We are happy that, You ',

          'join us at $MyCompany,',

          ' today. ';


  < form action="< ?php echo $_SERVER['PHP_SELF']; ?>"  method="post">


     // some code goes here


  </form>


  <p><b> user name: </b>

  <input type="text" name="name" size="20" maxlength="40" value="< ?php IF (!empty($_POST['name']))  echo $_POST['name'];    ?>" />

  </p>

 

 

The keyword echo is the most commonly used command in PHP and is one of the most flexible PHP command that you'll need to display or to generate HTML script from with in PHP itself and accepts a wide range of combinations as you can see above.

 

To control the Font size of the display, on any Pocket PC or WinCE environment, do make use of the < BASEFONT SIZE=2 > keywords from the HTML side and insert this or issue this setting before the < form .... statement >.