PHP and HTML interact?

Home / php-training-in-gurgaon / PHP and HTML interact?

PHP is an HTML-embedded server-side scripting language. The goal of the language is to allow web developers to write dynamically generated pages quickly. NTC Hosting offers its clients high quality PHP and HTML hosting services. Our servers are configured so as to ensure maximum performance for both your HTML and PHP-based applications and the non-interruptible functioning of your websites.


$Fname = $_POST[“Fname”];
$Lname = $_POST[“Lname”];
<title>Personal INFO</title>
<form method=”post” action=”<?php echo $PHP_SELF;?>”>
First Name:<input type=”text” size=”12″ maxlength=”12″ name=”Fname”><br />
Last Name:<input type=”text” size=”12″ maxlength=”36″ name=”Lname”><br /></form>
echo “Hello, “.$Fname.” “.$Lname.”.<br />”;