PHP Program Tutorial

Please leave a remark at the bottom of each page with your useful suggestion.


Table of Contents

  1. PHP Introduction
  2. PHP Program Collection 1
  3. PHP Program Collection 2
  4. PHP Program Collection 3

PHP Programming


Introduction

The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. This tutorial helps you to build your base with PHP.

  • Rasmus Lerdorf unleashed the first version of PHP way back in 1994.
  • PHP is a server side scripting language that is embedded in HTML
  • PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
  • It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
Your First PHP Program
<html>
<head>
<title> Basic Example </title>
</head>
<body>
<?php
echo "This is php code embedded into html";
?>
</body>
</html>

similarly html code can be embedded in php code as follows -

example.php
<?php

echo "<b>"."using html in php"."</b>";

?>



Write Your Comments or Suggestion...