Jump to content

no informaiton retrived from my web survey


pan.peter

Recommended Posts

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
Share on other sites

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="bimsurvey@live.com">

  </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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.