DAY 7 PHP PROGRAMMING
http://php.flashwebhost.com/tom/day_7_ex_2.html
http://php.flashwebhost.com/tom/day_7_ex_2.phpCode:<html> <body> <h1>Welcome to Online Booking Center</h1> <p>Please enter you name below and click that button to see Online Booking Center.</p> <form method="GET" action="day_7_ex_2.php"> Enter Your Name: <input name= "full_name" type="text"> <button type="Submit">Enter Your Name</button> </form> </body> </html>
Code:<?php echo '<h1>Hello '. $_GET['full_name'] . ' ! Welcome to Online Booking Center </h1>';




Reply With Quote

Bookmarks