Programming PHP: The Basics



We’ve installed everything we will need to start programming in PHP, so it’s time to write some code! The tutorials listed below will lay down the foundation. I recommend following them in order.

Please do not copy and paste the code you see in the tutorials. You will only learn by writing the code yourself, so don’t cheat yourself. Type all of the code out yourself. Try changing it a little and see what happens. Experimentation is highly encouraged!

1. Test the PHP installation
We will test our server and learn more about our configuration.

2. PHP Statements: Hello universe!
Echo your first PHP statement.

3. PHP Comments
Comments help explain and organize your code. You will eventually love them as much as a newborn baby (or maybe more).

Reader's Comments

  1. |

    hey love your site..please add more stuff..
    love the way you explain it..

    boris

    Reply to this comment

Leave a Comment