I registered some data in my registration.html it seems to work properly but when I clicked submit button to start an action of summarizing the registration.html to be showed up in my registration_summary.php, all it shows is just a blank white page. Why??? this the code.

I write the code and saved it as registration.html

<!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=utf-8" />
<title>Registration Form</title>
<style type="text/css">
<!--
.style1 {color: #000066}
-->
</style>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h1 align="center" class="style1">Registration Form</h1>
<form method="get" action="registration_summary.php">
<table width="727" border="0" align="center">
  <tr>
    <td width="67">Name</td>
    <td width="223">
      
        <div align="left">
          <input name="Name" type="text" id="Name1" value="Your Full Name" />      
        </div></td>
    <td width="109" rowspan="3">Civil Status</td>
    <td width="162" rowspan="2"><input type="radio" name="Civil Status" id="Civil Status1" value="Married" />
      Married</td>
    <td width="144" rowspan="2"><input type="radio" name="Civil Status" id="Civil Status2" value="Divorced" />Divorced</td>
  </tr>
  <tr>
    <td>Age</td>
    <td><span id="sprytextfield5">
    <input type="text" name="Age" id="Age" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span><span class="textfieldMinValueMsg">The Age must be from 5 yrs old and above</span><span class="textfieldMaxValueMsg">The entered value is greater than the possible existing age</span></span></td>
    </tr>
  <tr>
    <td>Address</td>
    <td>
      <div align="left">
        <textarea name="Address" id="Address">Your Home Address</textarea>
        </div></td>
    <td><input type="radio" name="Civil Status" id="Civil Status3" value="Widowed" />
      Widowed</td>
    <td><input type="radio" name="Civil Status" id="Civil Status4" value="Single" />
      Single</td>
  </tr>
  <tr>
    <td>Home Phone</td>
    <td><span id="sprytextfield3">
    <input name="Home Phone" type="text" id="Home Phone" value="your phone number" maxlength="7" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
    <td>Gender</td>
    <td><input type="radio" name="Gender" id="Gender1" value="Male" />
      Male</td>
    <td><input type="radio" name="Gender" id="Gender2" value="Female" />
      Female</td>
  </tr>
  <tr>
    <td>Cell Phone</td>
    <td><span id="sprytextfield2">
    <input name="Cell Phone Number" type="text" id="Cell Phone Number" value="your cell number" maxlength="11" />
    <span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></span></td>
    <td>Father's Name</td>
    <td colspan="2"><input type="text" name="Name Of Father" id="Name Of Father" /></td>
    </tr>
  <tr>
    <td>E-mail</td>
    <td><span id="sprytextfield1">
    <input name="E-mail" type="text" id="E-mail" value="your email" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
    <td>Mother's Name</td>
    <td colspan="2"><input type="text" name="Name Of Mother" id="Name Of Mother" /></td>
    </tr>
  <tr>
    <td>Birthday</td>
    <td><span id="spryselect1">
      <select name="Birthday1" id="Birthday1">
        <option selected="selected" value="-Month-">-Month-</option>
        <option value="January">January</option>
        <option value="Febuary">Febuary</option>
        <option value="March">March</option>
        <option value="April">April</option>
        <option value="May">May</option>
        <option value="June">June</option>
        <option value="July">July</option>
        <option value="August">August</option>
        <option value="September">September</option>
        <option value="October">October</option>
        <option value="November">November</option>
        <option value="December">December</option>
      </select>
      <span class="selectInvalidMsg">Please select a valid item.</span></span></td>
    <td><span id="spryselect2">
      <select name="Birthday2" id="Birthday2">
        <option selected="selected" value="-Day-">-Day-</option>
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
        <option value="6">6</option>
        <option value="7">7</option>
        <option value="8">8</option>
        <option value="9">9</option>
        <option value="10">10</option>
        <option value="11">11</option>
        <option value="12">12</option>
        <option value="13">13</option>
        <option value="14">14</option>
        <option value="15">15</option>
        <option value="16">16</option>
        <option value="17">17</option>
        <option value="18">18</option>
        <option value="19">19</option>
        <option value="20">20</option>
        <option value="21">21</option>
        <option value="22">22</option>
        <option value="23">23</option>
        <option value="24">24</option>
        <option value="25">25</option>
        <option value="26">26</option>
        <option value="27">27</option>
        <option value="28">28</option>
        <option value="29">29</option>
        <option value="30">30</option>
        <option value="31">31</option>
      </select>
      <span class="selectInvalidMsg">Please select a valid item.</span></span></td><td>
      Birth year</td>
    <td><span id="sprytextfield4">
    <input name="Birthday3" type="text" id="Birthday3" value="your birth year" />
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldMinValueMsg">The entered value is less than the minimum required.</span><span class="textfieldMaxValueMsg">The entered value is greater than the maximum allowed.</span></span></td>
    </tr>
  <tr>
    <td rowspan="2">Hobbies</td>
    <td><input type="checkbox" name="Hobbies1" id="Hobbies1" value="playing computer games" />
      Playing Computer Games</td>
    <td><input type="checkbox" name="Hobbies3" id="Hobbies3" value="dancing" />
      Dancing</td>
    <td><input type="checkbox" name="Hobbies5" id="Hobbies5" value="physical exercise" />
      Physical Exercise</td>
    <td rowspan="2"><input type="checkbox" name="Hobbies7" id="Hobbies7" value="doesn't belong to any of he choices given" />
      Others</td>
  </tr>
  <tr>
    <td><input type="checkbox" name="Hobbies2" id="Hobbies2" value="playing outdoor games" />
      Playing Outdoor Games</td>
    <td><input type="checkbox" name="Hobbies4" id="Hobbies4" value="singing" />
      Singing</td>
    <td><input type="checkbox" name="Hobbies6" id="Hobbies6" value="reading books" />
      Reading Books</td>
    </tr>
  <tr>
    <td>Your Comment</td>
    <td colspan="4"><div align="center">
      <textarea name="Comment" id="Comment" cols="45" rows="5"></textarea>
    </div></td>
    </tr>
</table>
<div align="center">
  <input name="Submit form" type="submit" id="Submit form" value="Submit form"/>
  <input type="button" value="Cancel" name="Cancel" onclick="window.location='registration.html'"/>
  <input type="reset" value="Clear" name="Clear" />
</div>
</form> 
<p align="left" class="style1">&nbsp;</p>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "email", {validateOn:["blur", "change"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "integer", {minChars:11, maxChars:11, isRequired:false});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "integer", {minChars:7, maxChars:16});
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "integer", {minValue:1950, maxValue:2010, validateOn:["blur"]});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue:"-Month-", validateOn:["blur"]});
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {invalidValue:"-Day-", validateOn:["blur"]});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "integer", {minChars:1, maxChars:3, minValue:5, maxValue:100, validateOn:["blur"]});
//-->
</script>
</body>
</html>

then I write the code for registration_summary.php

<html>
<head><title>registration summary</title>
</head>
<body>
<?php
$name= $_GET['Name'];
echo $name;
$age=$_GET['Age'];
$address=$_GET['Address'];
$HomePhone=$_GET['Home Phone'];
$CellPhone=$_GET['Cell Phone Number'];
$Email=$_GET['E-mail'];
$Birthday1=$_GET['Birthday1'];
$Birthday2=$_GET['Birthday2'];
$Birthday3=$_GET['Birthday3'];
$CivilStatus=$_GET['Civil Status'];
$Gender=$_GET['Gender'];
$FathersName=$_GET['Name Of Father'];
$MothersName=$_GET['Name Of Mother'];
$Hobbies=$_GET['Hobbies1'].", ".$_GET['Hobbies2'].", ".$_GET['Hobbies3'].", ".$_GET['Hobbies4'].", ".$_GET['Hobbies5'].", ".$_GET['Hobbies6'].", ".$_GET['Hobbies7'];

?></body>
</html>

please tell me where's the error. or kindly please edit my code.

Member Avatar for rajarajan2017

No Error in your file the data is passed. I Just passed my name on the name field and the summary page just displayed my name. So what is the Error?

No Error in your file the data is passed. I Just passed my name on the name field and the summary page just displayed my name. So what is the Error?

really??? Now I get it. maybe the browser is not reading properly, because my wamp is not running on windows 7? though I look on their forums and follow the steps carefully on reading the procedures to repair the problem. It still not working. Hmmmmm do you know such web development that runs on windows 7 like wamp or xampp?

Member Avatar for rajarajan2017

Hmmm... Check Wamp running or restart the server again. (or) Reinstall it.

Hmmm... Check Wamp running or restart the server again. (or) Reinstall it.

do you have web server software that looks like wamp that runs on windows 7?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.