PHP Introduction

Posted on November 16, 2019 By

PHP is a widely-used, open source programming language use for development of web application.

PHP is a server side language means, It is run and execute on server.

PHP is used with HTML, JavaScript, Ajax and MySQL database for store data.

PHP stands for Hypertext Preprocessor.

Example:

<!DOCTYPE html>
<html>
	<head>
		<title>PHP Example</title>		
	</head>
	<body>
	<?php
		echo "Welcome to World of PHP !!";
	?>
	</body>
</html>

Output:

Welcome to World of PHP !!

Description

<?php && ?>: This is a starting and ending of PHP code. PHP code must go between starting tag “<?php” and end tag “?>”.

echo : This is a php statement which is used for print text on web page. first write “echo” keyword and pass text between quotes (“”).

Category: PHP

Leave a Reply

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