pan.peter Posted July 6, 2009 Share Posted July 6, 2009 Dear all, I have just finished a layout of a 5 pages web-survey in Dreamweaver 3.0. Having filled in the information, the respondent is asked to submit and send the information to my e-mail account. For that, I have created a .php file which works fine. For some reason, the respondent's information is not stored on the .html sites (eg ticks and text disappears when going to the next page). The result is, that I don't see the answers in the e-mail which is perfectly sent to my account. Now, somebody told me to put in the formula "session_start();" to the top of each .html page to make sure the pages get linked and the information is kept. However, I am stuck where to place this formula. It does not really work..... I don't have a database where people logon, etc. , I wonder if that "session_start();" formula is the right one? I have looked for tutorials on the web, youtube, etc. but here my knowledge ends. Support would be hugely welcomed! Peter Link to comment https://forums.phpfreaks.com/topic/164962-no-informaiton-retrived-from-my-web-survey/ Share on other sites More sharing options...
ignace Posted July 6, 2009 Share Posted July 6, 2009 somebody told me to put in the formula "session_start();" session_start() is not a formula it's a function. "but here my knowledge ends." strange way of putting it.. Anyway upload your code so that we can investigate and provide a solution Link to comment https://forums.phpfreaks.com/topic/164962-no-informaiton-retrived-from-my-web-survey/#findComment-869895 Share on other sites More sharing options...
pan.peter Posted July 6, 2009 Author Share Posted July 6, 2009 Ignace, please find below the code for one of the .html sites: (I have done it in dreamweaver). <html><!-- #BeginTemplate "/Templates/template.dwt" --> <head> <!-- #BeginEditable "doctitle" --> <title>Untitled Document</title> <!-- #EndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- --> </style> </head> <body bgcolor="#FFFFFF"> <span class="main"></span> <span class="unnamed1"></span> <span class="unnamed1"></span> <form method="post" action="contactformprocess.php" name="BIM survey"> <p> <input type="hidden" name="mailto" value="[email protected]"> </p> <div align="center"> <table width="750" border="0" cellpadding="0" cellspacing="0" hspace="0" vspace="0" class="unnamed1" align="center"> <tr> <td height="121" width="362"><font face="Comic Sans MS" color="0" size="5">Building information modeling <br /> for Health Buildings</font></td> <td height="121" width="187"> <div align="right"></div> </td> <td height="121" width="206"> <div align="right"><img src="pics/radiology%20bim.jpg" width="205" height="150"></div> </td> </tr> <tr> <td colspan="3" height="39"> <div align="left"><img src="elements/top%20bar%20Kopie.gif" width="750" height="39"></div> </td> </tr> <tr> <td colspan="3"><!-- #BeginEditable "body" --> <div style="PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; PADDING-LEFT: 0cm; MARGIN-BOTTOM: 0pt"></div> <div style="PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; PADDING-LEFT: 0cm; MARGIN-BOTTOM: 0pt"> <div style="PADDING-RIGHT: 0cm; MARGIN-TOP: 0cm; PADDING-LEFT: 0cm; MARGIN-BOTTOM: 0pt"> <p><font face="Comic Sans MS" size="2">On this first page please tell us a bit about youself and your firm.</font></p> <p><font face="Comic Sans MS" size="2">What is your first and last name? (your name will not be mentioned in any published report unless you give us permission below. See final page.)</font><font size="2"><br> <input type="text" name="name" value="" maxlength="30" size="26"> <br> <br> <font face="Comic Sans MS">What email address can we use to notify you of your free report?<br> <input type="text" name="email" size="26" maxlength="30"> <br> <br> </font></font><font face="Comic Sans MS" size="2">What is the name of the architectural firm you work at? (you must be an architect, intern-architect, architectural-draftsman, design professional or IT person in an architectural setting familiar with CAD use at your firm).<br> <input type="text" name="company" maxlength="30" size="26"> <br> <br> What country is your architectural firm based?<br> <input type="text" name="country" maxlength="30" size="26"> <br> <br> <span class="qLabel"><span class="hlbl">How many people work at your architectural firm?</span></span></font></p> <table cellspacing="0" cellpadding="0" border="0" style="width:100%;" name="people"> <tr> <td valign="top" style="width:100%;"> <div class="qOption hover"><label for="input_86698911_10_934478054_0" id="linput_86698911_10_934478054_0" class="rb_off"><span class="qLabel"><font face="Comic Sans MS"> <input type="radio" value="1-2" name="people"> <font size="2"> 1-2</font></font></span></label></div> <div class="qOption hover"> <font face="Comic Sans MS" size="2"> <label for="input_86698911_10_934478055_0" id="linput_86698911_10_934478055_0" class="rb_off"><span class="qLabel"> <input type="radio" value="3-19" name="people"> 3-19</span></label></font></div> <div class="qOption hover"> <font face="Comic Sans MS" size="2"> <label for="input_86698911_10_934478056_0" id="linput_86698911_10_934478056_0" class="rb_off"><span class="qLabel"> <input type="radio" value="20-49" name="people"> 20-49</span></label></font></div> <div class="qOption hover"> <font face="Comic Sans MS" size="2"> <label for="input_86698911_10_934478057_0" id="linput_86698911_10_934478057_0" class="rb_off"><span class="qLabel"> <input type="radio" value="50-149" name="people"> 50-149</span></label></font></div> <div class="qOption hover"> <font face="Comic Sans MS" size="2"> <label for="input_86698911_10_934478058_0" id="linput_86698911_10_934478058_0" class="rb_off"><span class="qLabel"> <input type="radio" value="150-5000" name="people"> 150-5000</span></label></font><font size="2"><label for="input_86698911_10_934478058_0" id="linput_86698911_10_934478058_0" class="rb_off"></label></font><label for="input_86698911_10_934478058_0" id="linput_86698911_10_934478058_0" class="rb_off"></label></div> </td> </tr> </table> <p><font face="Comic Sans MS" size="2"><span class="qLabel"><span class="hlbl"> </span></span></font></p> <p><font face="Comic Sans MS" size="2"><span class="qLabel"><span class="hlbl"> </span></span></font></p> </div> </div> <!-- #EndEditable --></td> </tr> <tr> <td colspan="3" height="43"> <div align="left"><img src="elements/lower%20bar%20Kopie.gif" width="750" height="39"></div> <!-- #BeginEditable "statusbar" --><!-- #EndEditable --></td> </tr> <tr> <th colspan="3" height="50"><!-- #BeginEditable "scroll%20bar" --><a href="index.htm"><img src="elements/arrows-2.jpg" width="60" height="37" border="0"></a><a href="site-8.htm"><img src="elements/arrows-1.jpg" width="60" height="37" border="0"></a><!-- #EndEditable --></th> </tr> <tr class="main"> <th colspan="3" height="50"><!-- #BeginEditable "status%20bar" --><img src="elements/0%25.jpg" width="709" height="49"><!-- #EndEditable --></th> </tr> </table> </div> <p> </p> <p class="unnamed1"> </p> <p> </p> <p> </p> </form> </body> <!-- #EndTemplate --></html> Link to comment https://forums.phpfreaks.com/topic/164962-no-informaiton-retrived-from-my-web-survey/#findComment-869924 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.