What is PHP?

PHP stands for “Hypertext Preprocessor“,  is a server-side scripting language used to create dynamic Web pages. This can be embedded to HTML pages. This is very easy scripting language compare to other scripting languags. The goal of the language is to allow Web developers to write dynamically generated pages quickly.

PHP supports many databases like MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.

You no need any software to write this php codes. Yo can write in a basic windows notepad.

My first PHP program:

1
2
3
4
5
6
7
<html>
<body>
<?php
echo "MY First PHP Program";
?>
</body>
</html>

PHP block should written inside <?php and ?> Here echo “MY First PHP Program”; will display “MY First PHP Program” in browser.

Now the time to run this program. Before that you need to install server in your localhost. Learn how in next pages.

Editorial Team
Editorial Team

We are a group of young techies trying to provide the best study material for all Electronic and Computer science students. We are publishing Microcontroller projects, Basic Electronics, Digital Electronics, Computer projects and also c/c++, java programs.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in