Okay, I have a site with 4 pages:
-Home
-About
-Services
-Contact
The contact page will need a contact form creating - I will want it to be styed to fill the theme of the site. It will require options as well so the user can select what department the email is to be sent too.
I don't require, at this stage, a database implemented into this whole thing as i'm not interested in collection various data. I just want a email form in my site that can forward email when the user presses 'submit'.
At the moment everything is in the Photoshop stage and have been reading a little about PHP, but I do have a couple of questions.
I understand server side technology will be rewquired to make the contact form work. I will, of course, be using PHP.
1) Only the Contact form will have anything to do with PHP. However, should all the pages end in .php. Example:
-Home.php
-About.php
-Services.php
-Contact.php
2) So it's possible to create all the pages in .xhtml then just rename them all to .php?
3) The contact page will obviously need the php attention. Is it basically a case of coding that page normally with the correct html and CSS and making sure the extension of that page ends in .php?
4) The php itself - can it be placed in that page with all the rest of the html or does it go into a seperate .php file?
-Home
-About
-Services
-Contact
The contact page will need a contact form creating - I will want it to be styed to fill the theme of the site. It will require options as well so the user can select what department the email is to be sent too.
I don't require, at this stage, a database implemented into this whole thing as i'm not interested in collection various data. I just want a email form in my site that can forward email when the user presses 'submit'.
At the moment everything is in the Photoshop stage and have been reading a little about PHP, but I do have a couple of questions.
I understand server side technology will be rewquired to make the contact form work. I will, of course, be using PHP.
1) Only the Contact form will have anything to do with PHP. However, should all the pages end in .php. Example:
-Home.php
-About.php
-Services.php
-Contact.php
2) So it's possible to create all the pages in .xhtml then just rename them all to .php?
3) The contact page will obviously need the php attention. Is it basically a case of coding that page normally with the correct html and CSS and making sure the extension of that page ends in .php?
4) The php itself - can it be placed in that page with all the rest of the html or does it go into a seperate .php file?