0% found this document useful (0 votes)
285 views3 pages

Complete PHP From Scratch For Beginners

This document provides an overview of learning PHP from scratch. It discusses setting up the PHP environment using LAMP, MAMP, and WAMP stacks. It also covers choosing PHP editors like Sublime and Notepad++ or IDEs like XAMPP. The document outlines PHP syntax including tags, semicolons, and comments. It defines request and response patterns in web applications. It describes what PHP is used for including interacting with databases and forms. It explains how PHP code is executed by the web server and browser. Finally, it recommends resources for learning PHP like books, websites, and online forums.

Uploaded by

Ojas Telwane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
285 views3 pages

Complete PHP From Scratch For Beginners

This document provides an overview of learning PHP from scratch. It discusses setting up the PHP environment using LAMP, MAMP, and WAMP stacks. It also covers choosing PHP editors like Sublime and Notepad++ or IDEs like XAMPP. The document outlines PHP syntax including tags, semicolons, and comments. It defines request and response patterns in web applications. It describes what PHP is used for including interacting with databases and forms. It explains how PHP code is executed by the web server and browser. Finally, it recommends resources for learning PHP like books, websites, and online forums.

Uploaded by

Ojas Telwane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Complete PHP from scratch for Beginners

Section 1 : Introduction
Section 2 : Setting up the PHP Eenvironment
Chp 5 : Types of PHP Installation software
Types of Installation :

1) LAMP (Linux(os) + Apache(server) + MySQL(Database) + PHP(scripts))


2) MAMP (Mac(os) + Apache(server) + MySQL(Database) + PHP(scripts))
3) WAMP (Windows(os) + Apache(server) + MySQL(Database) + PHP(scripts))

Types of Installation Software :

1) AAMPS : supports all three os (Linux, Mac, Windows) recommended


2) MAMP : supports two os ( Mac, Windows) recommended for Mac PC
3) XAMPP :
4) WAMP : supports windows

Chp 9 : Choose your Favourite PHP Editor


Code Editor : Sublime , notepad ++

IDE : mpsoftware, PHPStorm, NetB eans

Chp 12 : PHP syntax


PHP code is written between

Opening tag : ”<?php” and closing tag “?>”

Every line must end with semi-colon

Echo/ print is the function is used to print data on browser

“<?=” is equal to “<?php echo”

You can skip “;” for the last statement

Single line comments : // or #

Multi-Line commment : /* */

Chp 18 : Certification Tips


Last Statement line does not require a semi-colon (;) and nor the “?>” closing tag
(Plain PHP Code)
<?php echo “we can omit last closing tag”;

Because there is nothing after “;”

Chp 24 : what is Request and ResponsePattern ?


Define simple request response :

Web Browser sends the request to Web Server to access the html page and Web
Server sends the HTML page as to Web Browser as a Response

Chp 25 : What is PHP ?

Documentation of PHP on : https://www.php.net/

What is PHP :

PHP stands for : “PHP: Hypertext Preprocessor”

1) It is server side scripting language


2) It is a interpreted language
3) It is use to create dynamic contetn by interactingwith the database
4) Php code is imbeded into HTML page which runs on the server

What you can do with PHP ?:

1) It can read data from the form submitted from the HTML Page
2) Read, Save, Update, Delete data from database
3) Send Emails
4) Accept cookies and set Cookies
5) Track the session of the user on the web Page
6) Restrict the user to access some pages on your website
7) Many other web page bbased backed transaction

Chp 26 : How PHP works


Web Browser requests the PHP file Web Server executes the PHP code and
generates the HTML File and send it to Web Browser

Chp 27 : Compare PHP with other Languages :

Characteristic of PHP:

1) Simplicity
2) Efficiency
3) Security
4) Flexibility
5) Familiarty
Chp 28 : PHP useful resourses:
References :

Books :

1) Learning PHPH, MySQL and javascript : Robin Nixon


2) Murach’s PHP and MySQL 3 rd edition
3) PHP programming with MySQL : The Web Technologies Series second edition :
Don Gosselin, Diana Kokoska, Robert Easterbrooks
4) PHP and MySQL for Dynamic Websites : Visual QuickPro Guide 4th edtion :
Larry Ullman

Sites :

Online resources :

https://www.php.net/

https://www.w3schools.com/

https://www.phptherightway.com/

His websites :

https://learnphponline.org/ (learn PHP in multiple Languages)

https://mmy.phpjobtraining.com/ (Job based PHP training)

https://forum.phpjobtraining.com/ (PHP forum)

You might also like