Launching Soon
HTML
AJAX
JAVA
ASP.NET
 
PHP Intro
PHP Syntax
PHP Variables
PHP Echo
PHP String
PHP Operators
PHP If...Else
PHP Switch
PHP Arrays
PHP While Loops
PHP For Loops
PHP Functions
PHP Forms
PHP $_GET
PHP $_POST
 
PHP Advanced
PHP Date
PHP Include
PHP File
PHP File Create
PHP File Open
PHP File Close
PHP File Write
PHP File Read
PHP File Delete
PHP File Append
PHP File Truncate
PHP File Upload
PHP Cookies
PHP Sesssions
PHP Email
PHP Secure Email
PHP Error
PHP Exception
PHP Filter
 
PHP Database
MY SQL Introduction
MY SQL Connect
MY SQL Create
MY SQL Insert
MY SQL Where
MY SQLOrder By
MY SQL Update
MY SQL Delete
PHP ODBC
 
Extras
PHP Array
PHP Calender
PHP Date
PHP Directory
PHP Error
PHP File System
PHP Filter
PHP FTP
PHP HTTP
PHP Libxml
PHP Mail
PHP Misc

PHP Mysql

PHP SimpleXML
PHP String
PHP XML
PHP Zip
 
 
 
 

php tutorial - learn php



If you want to learn the basics of PHP, then you've come to the right place. The goal of this tutorial is to teach you the basics of PHP so that you can:

  • Customize PHP scripts that you download, so that they better fit your needs.
  • Begin to understand the working model of PHP, so you may begin to design your own PHP projects.
  • Give you a solid base in PHP, so as to make you more valuable in the eyes of future employers.

PHP stands for PHP Hypertext Preprocessor.

PHP - what is it?

Taken directly from PHP's home, PHP.net, "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly."

This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won't see!

When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browser.

 

PHP - what's it do?

It is also helpful to think of PHP in terms of what it can do for you. PHP will allow you to:

  • Reduce the time to create large websites.
  • Create a customized user experience for visitors based on information that you have gathered from them.
  • Open up thousands of possibilities for online tools. Check out PHP - HotScriptsfor examples of the great things that are possible with PHP.
  • Allow creation of shopping carts for e-commerce websites.

What you should know

Before starting this tutorial it is important that you have a basic understanding and experience in the following:

  • HTML - Know the syntax and especially HTML Forms.
  • Basic programming knowledge - This isn't required, but if you have any traditional programming experience it will make learning PHP a great deal easier.

Tutorial overview

This tutorial is aimed at the PHP novice and will teach you PHP from the ground up. If you want a drive-through PHP tutorial this probably is not the right tutorial for you.

Remember, you should not try to plow through this tutorial in one sitting. Read a couple lessons, take a break, then do some more after the information has had some time to sink in.

   
 
Designed and Developed by MGEF
PHP MGEF Tutorial is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user.
While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright 1999-2010 by MGEF. All Rights Reserved.