Tutorial Categories
Tools and Software
Site Search


Advanced Search
Tutorial Options
Popular Tutorials
  1. Photoshop Concept Car Makeover
  2. Photoshop Man Of Fire Part I
  3. Photoshop Man Of Fire Part II
  4. Photoshop Magic Marker Effect
  5. Photoshop Car Makeover Part II
No popular tutorials found.
Popular Authors
  1. Cory Crampton
  2. Daniel Phillips
  3. tanmay goswami
  4. Rails Forum
  5. Brendan Horverson
  6. CodeCrunch Tutorial Bot
  7. PhotoshopBee .com
  8. Jamie Lewis
  9. Nick Cote
  10. Luther Avery
No popular authors found.
 »  CodeCrunch  »  Programming  »  PHP Tutorials  »  Starting PHP - 1
Starting PHP - 1
By Daniel Phillips | Published  06/28/2006 | PHP Tutorials | This tutorial viewed 819 times
Starting PHP - 01

To start PHP, you must have the following:-

- A PHP Enabled Server
- Knowledge on how to upload files
- Basic FTP info.


Now, if you have those things, please read on, if not, read some other articles.


Look at the following code:

<?php

$variable = "Hello World!";
print $variable;

?>


Now this isn't exactly what most people start off with but in this tutorial I will teach you about both Variables and printing text to screen.

Lets look through the code line by line:

<?php

This opens up PHP, so the server knows what its about to do.

$variable = "Hello World!";

This declares a variable, with the string, Hello World!, inside of it.

?>

This ends PHP.




Comments