The full name of PHP is the Personal Home Page, which was later changed to a PHP: Hypertext
Preprocessor. PHP was built in 1994 by Rasmus Lerdorf.
Preprocessor. PHP was built in 1994 by Rasmus Lerdorf.
php is a server side scripting language, meaning a scripting language that is executed on the server.
PHP is created by Dynamic Website or Web Application. PHP is the most popular scripting language
to create any kind of web application.
to create any kind of web application.
How Much Essential to Learning PHP?
1 PHP has been used to create Facebook, Wikipedia, Yahoo on the Internet's most popular
website.
website.
2 Apart from this, PHP is also used in creating all the Popular Content Management System such
as WordPress, Magento, Opencart.
as WordPress, Magento, Opencart.
It is clear that if you want to be a web developer then you must learn PHP very good PHP.
How does PHP work?
When a user types any URL of any website whenever a user types a URL of that website like
Facebook.com or clicks on a link, then a request goes to the server of that website and that request
According to that, the server of the website processes the PHP code and as the output of that
web-page opens in our browser i.e. if we want to open Facebook.com, then the page of Facebook.com
opens.
Facebook.com or clicks on a link, then a request goes to the server of that website and that request
According to that, the server of the website processes the PHP code and as the output of that
web-page opens in our browser i.e. if we want to open Facebook.com, then the page of Facebook.com
opens.
Before learning PHP, you should have knowledge of the following things: -
- What is browser and text editor?
- You should have knowledge of HTML, CSS, and JavaScript before you start learning PHP.
If you are looking best PHP training in chandigarh than join cbitss technologies , cbitss provide best
php , wordpress , MySQL and more Accounting software training in chandigarh sector 34A .
php , wordpress , MySQL and more Accounting software training in chandigarh sector 34A .
How hard is learning to php?
If you have learned C Programming Language or C ++ Programming Language, you can learn PHP
very easily. Learning PHP will not be too hard for you.
very easily. Learning PHP will not be too hard for you.
What do we need to learn PHP?
To learn PHP, we need three things
- Text-Editor
- Web Browser (Web Browser)
- Local Server
You are familiar with Web Browser, such as Google Chrome (Google Chrome), Internet Explorer
(Internet Explorer), or Mozilla Firefox and text-editor like Notepad and Notepad ++. What is a Local
Server? How does this work? And how to install it? I will tell you about it in the next lesson.
(Internet Explorer), or Mozilla Firefox and text-editor like Notepad and Notepad ++. What is a Local
Server? How does this work? And how to install it? I will tell you about it in the next lesson.
In PHP, the comments programmer is given to understand the code. These comments are not read
by the server.
by the server.
In PHP, comments are used in two ways.
- Single Line Comment
- Multiple Line Comments
1. Single Line Comment
Single line Comment is done in two types.
Single comment is given at the beginning using # (hash) or // (backslashes). Here, a php code is also
made as a comment.
made as a comment.
Source Code:
12345 <? Php
# This is a single comment
// $ a = 20;
// This is a single line comment
?>
Output:
2. Multiple Line Comments
Multiple line comments are given between / * (backslash asterisk) and * / (asterisk backslash) for
Multiple Line Comments.
Multiple Line Comments.
Source Code:
123456 <? Php
/ * This is a multi line comment.
$ a = 20;
This is a part of multiple line comment
* /
?>
Read more at - MySQL & PHP training in chandigarh
0 comments:
Post a Comment