Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
PHP MYSQL LESSON 3_BASIC SYNTAX,COMMENT AND ECHO_PRINT FUNTION IN PHP
A
Akash Jangra
5 Views • Dec 16, 2017
Description
PHP is a popular open-source general-purpose HTML-embedded server-side scripting language, which enables web developers to create dynamically generated web pages quickly. PHP was originally created by Rasmus Lerdorf in 1995, who added web forms that communicate with database (based on CGI/Perl) and called it "Personal Home Page/Forms Interpreter" or PHP/FI. PHP is now said to stand for "PHP: Hypertext Preprocessor" (a recursive acronym similar to GNU - GNU is Not Unix). PHP is now maintained by "The PHP Group" (@ http://www.php.net).
PHP is great for a one-man-operated (or two-man-operated) project, where a technically proficient geek can quickly produce a working prototype for a webapp. However, it is hard to use PHP to write good MVC (Model-View-Control) webapp, where the data (model), presentation (view) and logic (control) are well separated to facilitate team collaboration and maintenance. There are many PHP MVC frameworks (or libraries that run on top of PHP), such as Zend, CakePHP, Yii, Symfony and CodeIgniter. However, the learning curve of using these frameworks could be steep.
Other HTML-embedded server-side scripting languages are: Microsoft's ASP (Active Server Pages), Java's JSP (Java Server Pages), CGI/Perl and etc.
Modes of Operation
PHP operates in two modes:
Standalone Command-line Interface (CLI): You can run a CLI PHP script by itself, just like any program written in Perl/Python or C/C++/Java.
HTML-embedded Server-side Script: The server-side script must be run under a PHP-capable Web Server (such as Apache HTTP Server).
We shall focus on PHP Server-side script, as it is what PHP is most often used.
Pre-Requisites
This article is NOT for the dummies. The pre-requisites are:
HTML
For webapps: HTTP, HTML/CSS/JavaSCript/Ajax and MySQL.
For OOP: basic knowledge of OOP.
2. Installing PHP
PHP is most often used in writing HTML-embedded server-side scripts, that run inside an PHP-capable Web Server, such as Apache HTTP Server. Hence, to setup PHP for server-side scripting, you need to set up a PHP-capable web server. In addition, PHP scripts often communicate with database (such as MySQL) to generate dynamic web pages.
Read "Setting Up Apache/MySQL/PHP (AMP) for Linux, Windows and Mac".
PHP is great for a one-man-operated (or two-man-operated) project, where a technically proficient geek can quickly produce a working prototype for a webapp. However, it is hard to use PHP to write good MVC (Model-View-Control) webapp, where the data (model), presentation (view) and logic (control) are well separated to facilitate team collaboration and maintenance. There are many PHP MVC frameworks (or libraries that run on top of PHP), such as Zend, CakePHP, Yii, Symfony and CodeIgniter. However, the learning curve of using these frameworks could be steep.
Other HTML-embedded server-side scripting languages are: Microsoft's ASP (Active Server Pages), Java's JSP (Java Server Pages), CGI/Perl and etc.
Modes of Operation
PHP operates in two modes:
Standalone Command-line Interface (CLI): You can run a CLI PHP script by itself, just like any program written in Perl/Python or C/C++/Java.
HTML-embedded Server-side Script: The server-side script must be run under a PHP-capable Web Server (such as Apache HTTP Server).
We shall focus on PHP Server-side script, as it is what PHP is most often used.
Pre-Requisites
This article is NOT for the dummies. The pre-requisites are:
HTML
For webapps: HTTP, HTML/CSS/JavaSCript/Ajax and MySQL.
For OOP: basic knowledge of OOP.
2. Installing PHP
PHP is most often used in writing HTML-embedded server-side scripts, that run inside an PHP-capable Web Server, such as Apache HTTP Server. Hence, to setup PHP for server-side scripting, you need to set up a PHP-capable web server. In addition, PHP scripts often communicate with database (such as MySQL) to generate dynamic web pages.
Read "Setting Up Apache/MySQL/PHP (AMP) for Linux, Windows and Mac".
More from User
02:27
Almond Butter Recipe
Akash Jangra
22:46
PHP MYSQL LESSON 7 ( PART 1 ) _ LOOPS IN PHP
Akash Jangra
28:58
PHP MYSQL LESSON 6 ( PART 2 ) _ ARRAY IN PHP
Akash Jangra
18:42
PHP MYSQL LESSON 6 ( PART 1 ) _ ARRAY IN PHP
Akash Jangra
08:47
PHP MYSQL LESSON 5 (Part 1) _ OPERATORS IN PHP
Akash Jangra
12:54
PHP MYSQL LESSON 5 ( Part 2 ) _ OPERATORS IN PHP
Akash Jangra
Related Videos
00:08
Read PHP MySQL Web Programming Interview Questions Answers and Explanations: PHP MySQL FAQ
Boesen
00:11
Just Enough Web Programming with XHTML PHP and MySQL
Jamesgoff
00:08
Read Web Programming for Business: PHP Object-Oriented Programming with Oracle Ebook Free
Rmetz
01:06
Applications of PHP website development Programming Language|PHP Web Development Company | Webhonchoz
Webhonchoz Itservices
00:07
[PDF Download] Programming For Beginner's Box Set: Learn HTML HTML5 & CSS3 Java PHP & MySQL
Challenbec
00:12
New E-Book A Web-Based Introduction to Programming: Essential Algorithms, Syntax, and Control
gobahite