I think many don't understand the concept. Why we have two files. In above example
http://php.flashwebhost.com/tom/day_7_ex_2.php
Is the PHP file. We need visitors enter their name, so that PHP script know name of visitor and show a personalized page with visitor name.
The solution here with toms script is to use following URL
Now you seeCode:http://php.flashwebhost.com/tom/[email protected]
Now can we get our visitors to enter email ? Will visitors know how to get GET method or what is GET method ?Hello, [email protected] Wecome to Online Booking Center
This is where we need an HTML form page, where we ask user what is his email. Like
http://php.flashwebhost.com/tom/day_7_ex_2.html
In toms code
Action need to be set to our PHP file, that isCode:<form method="GET" action="http://www.catchmyseat.com">
Hope everyone will try to understand this concept, ask others or discuss here if you don't understand, someone will be able to explain it better than me, or i can try againCode:<form method="GET" action="day_7_ex_2.php">![]()





Reply With Quote


Bookmarks