Variables in PHP

Creating Variables in PHP

PHP or Hypertext preprocessor is a scripting language that is used widely worldwide. It is especially used in the web development with great ease. It can be embedded into HTML with great ease. It will help to create dynamic and interactive web pages. It is a very efficiently used scripting language. It is a very simple language that can be used by the beginners without any difficulty. It will also provide many advanced features. PHP development is focused on the server side scripting language. This is a language that is used to create content that is used to interact with the databases. Variable are the key factors in the PHP language. It is used to store any information with great ease. In PHP, the variable name starts with the $ sign. The variable must start with the letter or underscore character. Then it will be followed with the name of the variable. The text that is stored in the variable must be quoted with double quotes. In PHP there is no way for declaring the variable. The declaration of the variable will be done at the time the value is assigned to the variable. Variable names are case sensitive in PHP. This application will help in understanding the concept of variables in PHP.

In this tutorial I will explain how to create php variables. Before creating example program I will give you brief explanation of variables.

Variables in PHP Read more about Creating Variables in PHP

Comment lines in PHP

Comment lines in PHP

PHP or Hypertext preprocessor is a scripting language that is used widely worldwide. It is especially used in the web development with great ease. It can be embedded into HTML with great ease. It will help to create dynamic and interactive web pages. It is a very efficiently used scripting language. It is a very simple language that can be used by the beginners without any difficulty. It will also provide many advanced features. PHP development is focused on the server side scripting language. This is a language that is used to create content that is used to interact with the databases. Comments are the ones that are necessary for the people to understand what is happening in the particular set of code. Comments are used to describe the functionality of the piece of code. It will help the person who has not written that piece of code to understand better through the use of comments. It can be regarded as the highlighted text. C, C++ and unix style comments are followed in PHP. The comments can be added to the single line or multiple lines in the code. This will be one of the interesting application that will give the detailed information regarding the comments in PHP.

In this lesson we explain how to create comments in php. Basically the comments are not an executable statements. The comments are used just for user reference.  Read more about Comment lines in PHP