Monday, December 8, 2008
How to Embed PHP scripts in Your HTML code
Since a couple of years back PHP has become the scripting language for dynamic websites. It is a script that is easy to use and does well working towards databases. Not only will many web hosts have an application that will install complete PHP based web applications and pages at your command. PHP allows you to embed it directly into your code. So if you have made a simple HTML web page in Macromedia Dreamweaver you can implement various PHP written web applications and features by simply copy and pasting the script into the HTML code. To do this there are two things you must do. 1. Find the written script for the feature you desire on your website, e.g. a clock or formMail. By simply googeling PHP + feature you will find ready-to-embed PHP scripts. 2. Make sure that the script begins with "". The web browser will then recognize and execute the script as PHP and the rest as HTML.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment