barbixy Posted January 25, 2008 Share Posted January 25, 2008 Hello everyone, Can anyone please help me figure out why, on a form on a website I am updating (html and dreamweaver proficient, no php experience at all), when the user fills in the name, address, etc, all of that information gets sent and received. When the user fills in the field that transmits a text message they fill in a box (ie rows=10 columns=50 etc) the message disappears on the receiving end. ??? Any advice or insight would be appreciated. I can't afford to pay a programmer $200 to fix this form, that's what it cost on my last site and I'm sure its a simple fix. I'm trying to make time to learn php. thank you! Barb Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/ Share on other sites More sharing options...
rajivgonsalves Posted January 25, 2008 Share Posted January 25, 2008 its hard to tell whats wrong.... some code would help.. or even if you give an url maybe we can figure out whats wrong.. Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448705 Share on other sites More sharing options...
barbixy Posted January 25, 2008 Author Share Posted January 25, 2008 Thank you, but I thought the terms of membership said don't post code in the forums, but its not very long. Let me know where to post it... Barb Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448708 Share on other sites More sharing options...
adam291086 Posted January 25, 2008 Share Posted January 25, 2008 Dont post long lengths of code. If the script is short then post the whole lot. Otherwise post the areas of code where the problem lies. Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448710 Share on other sites More sharing options...
barbixy Posted January 25, 2008 Author Share Posted January 25, 2008 I just emailed both pages to you. It looks to me like the contact form, links to the php_self.php page, but I don't really know what I'm looking at. Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448712 Share on other sites More sharing options...
barbixy Posted January 25, 2008 Author Share Posted January 25, 2008 thank you. I would post just the area where the problem lies, but I don't know what area that is... here is the "text" part anyway. I'm sorry if this is too long. let me kno' cause I am new here. <form action="<?= $PHP_SELF ?>" method="post"> <p><strong>Use this form to request further information:</strong></p> <p> <strong>NAME:</strong><br /> <input type="text" size="50" maxlength="50" name="name" /> </p> <p><strong>TITLE:</strong><br /> <input type="text" size="50" maxlength="50" name="title" /></p> <p><strong>COMPANY:</strong><br /> <input type="text" size="50" maxlength="50" name="company" /> </p> <p><strong>ADDRESS:</strong><br /> <input type="text" size="50" maxlength="50" name="address" /> </p> <p><strong>CITY:</strong><br /> <input type="text" size="50" maxlength="50" name="city" /> </p> <p><strong>ZIP CODE:</strong><br /> <input type="text" size="25" maxlength="50" name="zip" /> </p> <p><strong>STATE:</strong><br /> <input type="text" size="25" maxlength="50" name="state"/> </p> <p><strong>TELEPHONE: </strong><br /> <input type="text" size="25" maxlength="50" name="telephone"/> </p> <p><strong>FAX: </strong><br /> <input type="text" size="25" maxlength="50" name="fax" /> </p> <p><strong>EMAIL: </strong><br /> <input type="text" size="25" maxlength="50" name="email" /></p> <p><strong>MESSAGE: </strong><br /> <textarea rows="10" cols="50" name="request"></textarea><br/></p> <input type="submit" value="submit" name="submit"/> <Input type="reset" value="reset" name="reset"/> </form> Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448713 Share on other sites More sharing options...
barbixy Posted January 25, 2008 Author Share Posted January 25, 2008 the part that doesn't show up on the receiving end, is at the very end of the form, where it says Message: and "request". Whatever is typed in that field, disappears. Quote Link to comment https://forums.phpfreaks.com/topic/87728-text-field-on-form-does-not-send-message-typed-by-user-but-sends-everything-el/#findComment-448715 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.