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">

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

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

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

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

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

Thank you..

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

Member Avatar


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:


As you have used POST method in your form, you can get your data as defined by ardav