A comment is a part of the program which doesn’t execute when running the program.
Its only purpose is to be read by someone who is editing the code.
In JavaScript, there are two types of comments –
- Single line, and
- Multiple lines
A comment is a part of the program which doesn’t execute when running the program.
Its only purpose is to be read by someone who is editing the code.
In JavaScript, there are two types of comments –
All programming languages have decision-making statements that allow controlling the flow of the program.
You can define what code to be executed when the condition is TRUE
and when it’s FALSE
.
In this tutorial, I show various types of the conditional statements in PHP.
Form handling is one of the common tasks when creating a project in PHP. There are various methods are available for this and they are good according to the situation.
You can either pass the form data by URL and hidden them from the user.
The PHP script is used to make a website dynamic.
The code must be written within the defined PHP tags otherwise it would not execute.
With tags, you can display the final output after data manipulation e.g. listing fetch records from MySQL database in the <table>, display value in HTML element, upload image, etc.
A variable is used to store information and it is accessible later in the program.
It has a user-defined name.
In PHP you don’t need to specify the Datatype of a variable it automatically converts its type according to the assigned value.
There are different types of variables are available –
© 2016-2022 Makitweb, All rights reserved