I have read multiple questions posted and am unable to locate one that directly answers what I am trying to accomplish. I have tried several suggestions in other posting answers but still have not the results I am seeking.
I am trying to get input to populate on my sample page (single2.php) from single_name form.
Here is the code on single_name.php:
<form name="singlename" method="post" action="./single2.php" id="Form1" onsubmit="return Validatesinglename(this)">
<div id="wb_Text1" style="position:absolute;left:10px;top:15px;width:81px;height:16px;z-index:0;text-align:left;"><span style="color:#000000;font-family:Arial;font-size:13px;">Name:</span></div><input type="text" id="name" style="position:absolute;left:101px;top:15px;width:198px;height:23px;line-height:23px;z-index:1;" name="name" value="" autocomplete="off">
<div id="wb_Text2" style="position:absolute;left:10px;top:45px;width:81px;height:16px;z-index:2;text-align:left;"><span style="color:#000000;font-family:Arial;font-size:13px;">Gender:</span></div><input type="text" id="gender" style="position:absolute;left:101px;top:45px;width:198px;height:23px;line-height:23px;z-index:25;" name="Gender" value="">
<div id="wb_Text3" style="position:absolute;left:10px;top:75px;width:81px;height:16px;z-index:4;text-align:left;"><span style="color:#000000;font-family:Arial;font-size:13px;">Date of Birth:</span></div><input type="date" id="dob" style="position:absolute;left:101px;top:75px;width:198px;height:23px;line-height:23px;z-index:5;" name="dob:" value="" autocomplete="off">
<div id="wb_Text4" style="position:absolute;left:10px;top:105px;width:81px;height:16px;z-index:6;text-align:left;"><span style="color:#000000;font-family:Arial;font-size:13px;">Message:</span></div><input type="text" id="message" style="position:absolute;left:101px;top:105px;width:198px;height:23px;line-height:23px;z-index:7;" name="Message:" value="" autocomplete="off">
<input type="submit" id="Button1" name="" value="Send" style="position:absolute;left:101px;top:135px;width:96px;height:25px;z-index:8;">
<input type="reset" id="Button2" name="" value="Reset" style="position:absolute;left:207px;top:136px;width:96px;height:25px;z-index:9;">
</form>
and here is what is on single2.php:
<div id="wb_Text1" style="position:absolute;left:428px;top:514px;width:515px;height:391px;text-align:center;z-index:29;">
echo $_POST["name"];
}
?></strong></span><span style="color:#000000;font-family:Chancellor;font-size:19px;">
<br>
<br>
Local Origin of Name: Unique and Original<br>From the name
<?php
{
echo $_POST["name"];
} <br>
<br>
Evaluation Meaning: Festive, Joyous
<br>
<br>
<strong>*</strong> Emotional Spectrum <strong>*</strong>
<br>
Up front and honest
<br>
<strong>*</strong> Personal Integrity <strong>*</strong>
<br>
Friends know that
<?php
{
echo $_POST["name"];
?>
can be called on in a crisis.
<br>
<strong>*</strong> Personality <strong>*</strong>
<br>
Life in the fast lane, tempered by common sense.
<br>
<strong>*</strong> Relationships <strong>*</strong>
<br>
Stays true and loyal
<br>
<br>
<?php
{
echo $_POST["name"];
}
?> is a
<?php
{
echo $_POST["gender"];
}
?>
<br>
<br>
{
echo $_POST["name"];
}
?>
was born
<?php
{
echo $_POST["dob"];
}
?>
<br>
<br>
</span>
<span style="color:#000000;font-family:Georgia;font-size:27px;"><strong><em>
<?php
{
echo $_POST["message"];
}
?></em></strong>
</span>
I can get the "name" to post at each place, but the "gender", "dob" and "message" does not post.
Any help would be greatly appreciated.