Jump to content

Please Help With My Php Contact Form


garethwigan

Recommended Posts

I have this contact form and really ned help with my php file. What would i need in my SendContact.php file in order for this form to work?? Thanks <div id="left"><div id="contact_form"><font size="+2"><b>Contact us?</b></font><p><font size="-2">Please use the form below to send us a message.</p></font><form method="post" onsubmit="return sendContact();" action="sendContact.php"><p><label for="name" id="lname">Full name:</label><input type="text" class="text" name="name" id="name" onfocus="input_focus('name');" onblur="input_blur('name');" /></p> <p><label for="email" id="lemail">Email address:</label><input type="text" class="text" name="email" id="email" onfocus="input_focus('email');" onblur="input_blur('email');" /></p><div class="x"></div><p class="error" id="email-error">You must enter your email address.</p> <p><label for="category" id="lcategory">Category:</label><select name="category" id="category" onfocus="input_focus('category');" onblur="input_blur('category');"><option value="software">Website Related</option><option value="hardwae">Content Related</option><option value="consulting">Complaint Related</option></select></p> <p><label for="message" id="lmessage">Message:</label><textarea name="message" id="message" onfocus="input_focus('message');" onblur="input_blur('message');"></textarea></p><div class="x"></div> <div class="x"></div> <input type="submit" class="submit" name="send_contact" value="Send" /> </form> </div> <div id="message_sent" style="display:none;"><h1>Your message has been sent</h1><p>We'll contact you in a shortest possible time.</p><p>You can now <a href="index.html" class="read-more">go back</a> to home page.</p></div> </div> </body></html>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...