Contact form not working

the mail() function

Moderators: egami, macek, gesf

Post Reply
hamwisk
New php-forum User
New php-forum User
Posts: 11
Joined: Fri Mar 02, 2012 4:59 am

Wed May 23, 2012 10:03 pm

php goes over my head too sometimes, like when i looked at your php code lol
seriously though it's not clear exactly what your trying to do, but one thing i did notice was:

Code: Select all

<input name="Name" type="text" id="name"/>

Code: Select all

$FTGNAME = DoStripSlashes( $_POST['NAME'] );
I think the id should be exactly the same, like

Code: Select all

<input name="Name" type="text" id="name"/>

Code: Select all

$FTGNAME = DoStripSlashes( $_POST['name'] );
also

Code: Select all

<label for="name">Tel:</label>
maybe?

Code: Select all

<label for="telephone">Tel:</label>
I am only a humble noob in the php world but i would suggest reading through a few free online tutorials like http://www.tizag.com/phpT/

I hope this helps :)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest