Job For Seeker
What is the use of “echo” in php?
It is used to print a data in the webpage, Example: , The following code print the text in the webpage
Why do we use PHP?
There are several benefits of using PHP. First of all, it is totally free to use. So anyone can use PHP without any cost and host the site at a minimal cost.
It supports multiple databases. The most commonly used database is MySQL which is also free to use. Many PHP frameworks are used now for web development, such as CodeIgniter, CakePHP, Laravel, etc.
These frameworks make the web development task much easier than before.
What is the purpose of using the TIMESTAMP data type?
A TIMESTAMP data type is used to store the combination of date and time value which is 19 characters long.
The format of TIMESTAMP is YYYY-MM-DD HH:MM: SS. It can store data from ‘1970-01-01 00:00:01’ UTC to ‘2038-01-19 03:14:07’ UTC. By default, the current date and time of the server get inserted in the field of this data type when a new record is inserted or updated.