Newbie needs to know how to insert a php form into an HTML page

Hi

Must be a simple answer, but I’m not familiar with PHP, but I have a HTML page that I would like to add a PHP script to the page. Do I just select a place where the script is to be placed, paste the script and then save?

Many thanks.

It really depends with the script does, but most of the time you can do exactly that.

If it outputs HTML, then you’ll need to place it in the correct spot.

You’ll all need to change the extension from .HTML to .php and you need to make sure your web server supports running php.

Sponsor our Newsletter | Privacy Policy | Terms of Service