0

Hey Guys,,

I'm new to PHP and and contact forms, I'm in need of help for the current website I'm making for a local sporting community.

I have uploaded a current picture of what my contact us box (Name,Email,Message) looks like :

As you can see im using a CSS to position it and add the submit picture.If someone is able to develop a simple PHP script that suits the below form , it would be much appreciated.

Below is my html code :

<div class="contact_form">
            <form id="form1" name="form1" method="post" action="send.php">

                <label>Name
                    <span class="small">Add your name</span>
                </label>
                <input type="text" name="Name" />

                <label>Email
                    <span class="small">Add a valid address</span>

                </label>
                <input type="text" name="Email" />

                <label>Message
                    <span class="small">Communicate with us</span>
                </label>
                <textarea name="Message" cols="0" rows="7">

                <button type="submit" name="submit" value="Submit">Send Message</button>
            </form>

Thank you..

Edited by h0k1

Attachments contact.jpg 63.57 KB
4
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by baig772
0

have you tried to write a script? if you post what you have i can run through it

1

Nice form. There are umpteen resources for this on the internet. SO just to start you off, these are the variables that you need to check, filter, sanitize:

$_POST['Name'],$_POST['Email'],$_POST['Message'] 
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.