Saturday, November 25, 2017

Using Php in Websites

Before going through the language Php, we should know general things about Php. Php language is used to create the connecting between Database and Site. Php is a server side language. Php can be considered as a tool for making dynamic and interactive web pages. Php as become a most efficient tool and language in web designing industry. 
Php code should be saved with the extension as .php. We want to use a server to run a php file. We can use wamp or xamp for thatt purpose and we can run Apache server on it to run our php file.

Simple Beginning of Php

<!DOCTYPE html>
<html>
<body>

<?php
echo "My first PHP script!";
?>


</body>
</html>

"<?php","?>" will indicates that, the code consist of php.

No comments:

Post a Comment

Why We Need Web Sites Imagine you are a web designer. You are meeting some people after long time, may be your friends or relations. Whe...