Jump to content

[SOLVED] Form not working


Guardian-Mage

Recommended Posts

Ever notice how code that should work doesn't, and it only does that at the worst possible times? I am making a simple XHTML 1.1 Form. My PHP script is getting no data, and Firefox addon "Tamper Data" Does not record any post data being sent on my website, but it does for google, etc. I am using Firefox 3.

 

     <form action="contact.php" method="post" name="main">
            <input type="hidden" id="execute" value="true" />
            <input type="text" id="name" value="Your first and last name" maxlength="120" onfocus="javascript:focusMe('name');" 
            onblur="javascript:blurMe('name');" /><br />
            <input type="text" id="email" value="Your full email" maxlength="120" onfocus="javascript:focusMe('email');" 
            onblur="javascript:blurMe('email');" /><br />
            <input type="text" id="subject" value="Email Subject Here" maxlength="120" onfocus="javascript:focusMe('subject');" 
            onblur="javascript:blurMe('subject');" /><br />
            <textarea id="body" onfocus="javascript:focusMe('body');" onblur="javascript:blurMe('body');" >Email Content Here</textarea>
            <br />
            <input type="submit" value="Send" /><br />
            </form>

Link to comment
https://forums.phpfreaks.com/topic/101911-solved-form-not-working/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.