Your HTML files can work as PHP scripts.Take any HTML file you have and rename it to a PHP extension. (So for example, if your HTML file is named sales.html, rename it to sales.php).
Put sales.php on your web server and run it in your browser. You get exact same result as you did with HTML page. Now, for good part.
Say you wanted to personalize one of your sales pages. Let's call that sales.php. Now, if you had a newsletter or wanted to give this "personalized link" to someone, your visitor's name could be added on-the-fly to your sales page.
Your link should look something like this:
http://www.your.host/sales.php?firstname=Big&lastname=Bird
Let's try it out:
http://www.jumpx.com utorials/1/example.php?f=Myfirstname
Click that link and your name should be near top of page.)
In this example, yourdomain.com represents your domain name and sales.php your HTML file turned PHP script. This would be link you could give Big Bird when you ask him to visit your sales page.
Now, edit sales.php and find where you want Big Bird's name to appear. The first and last names are given to script separately so you could have anything from "Hi Big Bird!" to "Dear Mr. Bird..." For simplicity let's just stick with showing both first and last names for now.
Insert this anywhere into your "script":
Now try that sample link I gave you earlier on that sales page of yours. You should see phrase "Big Bird" anywhere on your page.
Remember that you can stick this in anywhere on page. So for example if you wanted it to say "Dear Big Bird," you would just do this (with comma at end):
Dear ,
If you wanted to show only first name, use instead. The same applies to last name.