learn php fast - PHP Tutorial- what is php - beginning php tutorial
learn PHP fast - PHP Tutorial- what is PHP - beginning PHP tutorial
PHP Tutorial
PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. create dynamic and interactive Web pages.
History of PHP
In 1994, an incredibly forward-thinking man named Rasmus Lerdorf developed a set of tools that used a parsing engine to interpret a few macros here and there. They were not extravagant: a guest book, a counter, and some other "home page" elements that were cool when the Web was in its infancy. He eventually combined these tools with a form interpretation (FI) package he had written, added some database support, and released what was known as PHP/FI.
Audience
This tutorial is designed to help beginners and professionals.and a to z php concept in this tutorials, you have easily learned and understand our tutorial in easy and simple language.
Prerequisites
PHP is also one of the simplest and most straightforward scripting languages. This makes it very easy to learn.
In order to use PHP effectively, you will eventually need to learn other languages, such as:
HTML - because it's what PHP normally outputs to the browser
MySQL - because you'll want to store user data in a database
CSS - because it's how you add style to HTML pages
JavaScript - because you'll want to make your HTML pages interactive
PHP - Setup
PHP does not come pre-installed on Windows or other systems. To work with PHP on Windows and other like linux system, PHP will need to be manually downloaded and installed.if you are directly run your php application in web server first by a web space and domain name to run your php application and script, the following two methods explain to run php live server and localhost in your computer.
Set up PHP on Web Host
Buy a web space and domain name on internet service providers like Godaddy and Bluehost. After buying web space and domain name.goto file manager and create a file and writeing your php script and run a live application.
Set up PHP on Computer
To run PHP code on your local machine you need three things:
Web Server
PHP
MySQL Databases
Download Web Server
- WAMP Windows
- LAMP Linux
- MAMP MAC
Write Your Script
To write your script, you need to use a text editor program, the following general used a text editor on different os platform:
- Windows Notepad
- Vi
- TextEdit on Mac OS X
PHP - Syntax
In this topic I will explain about PHP syntax in details there are many ways and many type php syntax like default and with HTML and more about PHP syntax the below list are types of PHP syntax we covered in this topic.
Default Syntax
Short Open Tags
HTML Script Tags
ASP Style Tags
Default Syntax
The default syntax starts with "<?php" and ends with "?>", generally most of used this syntax start with <?php and end with ?> tag in php syntax the following basic syntax example.
No comments
Post a comment