I've wanted to be able to do a contact form for yonks. Somehow I was never able to get my head around it.
Today, I have spent a long time reading up on it, and with a lot of trial and error, I finally managed to get a proper contact form on my website. One that forwards queries and comments directly to my email account. I was able to make use of some free code downloads from this site.
A contact form effectively comes in two parts. The first part is html code that allows people to make comments. The second part is something called php code, which then sends the comments to a specified place, in this case, my e-mail address.
What I couldn't work out was the way it all fits together in a website. So I spent ages copying the php code into my webpage, and wondering why it was not working properly. Eventually it dawned on me that the php code is a seperate file that you ftp up onto your host server. The html code then goes looking for it.
But this wasn't just a matter of copying and pasting. I added a new field for phone numbers, and altered the php file so that it correctly went through. I have some idea of what I'm doing with this stuff now.
I've also tidied up, made a few stylistic changes, and spent a long and annoying time debugging things that should on the face of it have worked. Tables are wonderful things, but they do sometimes do some frustrating things.
So now I have a website that I'm happy with, at least for now. Now I need to get people to see it.
I keep wanting to send myself messages!
driving lessons wallasey
you want 'em! I got 'em!