Html4newbies
Put your hands into html and php
Home
Privacy
About
Contact

Hosting Links
Hosting
Free Php Snippets
Php Snippets 1
Php Snippets 2
Php Simple Intro


Our first PHP script
We really didn't do anything other then use the echo statement

<html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php echo '<p>Hello World</p>';   
 </body>
</html>



All php code must be between two sets of tags
<?php
echo 'somecode here';
? >

The semicolon signifies the end of a PHP statement and should never be forgotten.
Coding with php all you need is a text editor and start learning.
One of the best ways to learn is to practice and practice.
Get yourself a Php book for learning php.
While we only can give you a small taste for it, you really should start with a book or even go to school for it.


Copyright © 2002-2017 Html4newbies - HarlandScripts.com NetWork