t01 Posted October 30, 2007 Share Posted October 30, 2007 I made a PHP form and for some reason it doesn't email the first two fields (name and email). You can find the form at http://www.aped.tv/survey.php. The code is exactly the same so I don't know why it doesn't work? Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/ Share on other sites More sharing options...
cooldude832 Posted October 30, 2007 Share Posted October 30, 2007 if we could see the "code" it be nice. Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381167 Share on other sites More sharing options...
t01 Posted October 30, 2007 Author Share Posted October 30, 2007 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="styles/core.css" /> <style type="text/css"> #intext { width: 105px; border: 1px solid #c0c0c0; font: normal 11px "lucida grande", tahoma, verdana, arial, sans-serif; padding: 3px; } #insend { width: 60px; background-color: #000000; border: 1px outset #c0c0c0; color: #FFF; font: normal 11px "lucida grande", tahoma, verdana, arial, sans-serif; } </style> <title>ape'd</title> <style type="text/css"> <!-- body { background-color: #000000; } .style1 { color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; } .style6 {color: #FFFFFF; font-weight: bold; font-family: Arial, Helvetica, sans-serif; font-size: 12px; } body a{ font-family: Arial, Helvetica, sans-serif; color: white; } body a:hover{ color: gray; } --> </style> <script type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> </head> <body> <div id="body_hallow" style=" width: 479px; margin-left: auto; margin-right: auto; padding-top: 30px;"> <form id="form1" name="form1" method="post" action="survey.php" enctype="multipart/form-data"> <label><span class="style1"><strong> </strong></span></label> <table width="408" border="0" align="center" cellpadding="3"> <tr> <td width="300"><span class="style6">Name [not required]:</span></td> <td width="294"><strong> <input name="name" type="text" id="name" /> </strong></td> </tr> <tr> <td><span class="style6">Email [not required]:</span></td> <td><strong> <input name="email" type="text" id="email" /> </strong></td> </tr> <tr> <td><span class="style6">What would you rate this party from 1-10?</span></td> <td><strong> <input name="rating" type="text" id="rating" /> </strong></td> </tr> <tr> <td><span class="style6">What did you think about the time and location?</span></td> <td><strong><input name="timelocation" type="text" id="timelocation" />></textarea> </strong></td> </tr> <tr> <td><span class="style6">What did you think of Yung Joc's performance?</span></td> <td><strong> <input name="yungjoc" type="text" id="yungjoc" /> </strong></td> </tr> <tr> <td><span class="style6">Did you like the hosts / announcers?</span></td> <td><span class="style1"> <input name="host" type="text" id="host" /> </span></td> </tr> <tr> <td><span class="style6">What did you think of the opening acts? Which did you like the best?</span></td> <td><span class="style1"> <input name="opener" type="text" id="opener" /> </span></td> </tr> <tr> <td><span class="style6">Please offer any comments and suggestions that would have improved this party.</span></td> <td><span class="style1"> <input name="comments" type="text" id="comments" /> </span></td> </tr> <tr> <td><span class="style6">Who or what would you like to see at the next party? Where would you like it to be held? All ideas are welcome.</span></td> <td><span class="style1"> <input name="nextparty" type="text" id="nextparty" /> </span></td> </tr> <tr> <td> </td> <td><label> <div align="left"></div> </label></td> </tr> <tr> <td><span class="style6">WAS THIS THE BEST PARTY YOU'VE EVER BEEN TO IN YOUR LIFE????? If YES, what made it the best? If NO, what WOULD have made it the best?</span></td> <td><span class="style1"> <input name="bestparty" type="text" id="bestparty" /> </span></td> </tr> <tr> <td> </td> <td> <input type="submit" name="Submit" value="Submit" /> </td> </tr> </table> <br /> <label></label> </form> </div> </body> </html> Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381169 Share on other sites More sharing options...
cooldude832 Posted October 30, 2007 Share Posted October 30, 2007 I don't see any php??? Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381170 Share on other sites More sharing options...
t01 Posted October 30, 2007 Author Share Posted October 30, 2007 how should it be fixed? Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381177 Share on other sites More sharing options...
cooldude832 Posted October 30, 2007 Share Posted October 30, 2007 Read what the name of this board is (I'll help you its php help) Read what you posted as your code to get (php help) on. And then you will see why I am not helping you. Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381180 Share on other sites More sharing options...
t01 Posted October 30, 2007 Author Share Posted October 30, 2007 i don't know how to fix it thats all you had to say. i dont need a long explanation Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381208 Share on other sites More sharing options...
cooldude832 Posted October 30, 2007 Share Posted October 30, 2007 I don't know how to fix something I can't see is what my point is. Link to comment https://forums.phpfreaks.com/topic/75365-form-not-sending-all-fields/#findComment-381211 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.