Search

How do I use PHP?

This article contains information about using PHP.

To use PHP, make a file and give it a ".php" file
extension such as myfile.php.

2. Inside this file you can put any HTML that would normally go in a
Web page.

3. Anywhere in that file, within the HTML, you can put your PHP code (with the proper start and end PHP tags).

You can learn more about PHP at http://php.net and http://zend.org You can find PHP scripts at http://hotscripts.com

I would also recommend looking for http://w3schools.com/ for guides and help in learning to program in PHP and HTML.

Last Updated: 31st of May, 2011     Article ID: 477

Continue