Could someone help me out on this one it is driving me absolutely mad!!!!!!!!!!!!!!!
On the first form it asks for first name and last name.
It then opens a second form that prints the information on screen.
What is happening is that the second form is opening but the information from the first form (the variables) are not showing.
I have the following php file called testing.php
<html>
<body>
<form action="testing1.php" method=post>
First name:<input type="Text" name="first"><br>
Last name:<input type="Text" name="last"><br>
<input type="Submit" name="submit" value="Enter information">
</form>
</body>
</html>
As you can see it opens a second file called testing1.php and it contains the following code.
<html>
<body bgcolor="#FFFFFF" text="#000000">
<p>
First Name<?php print $first; ?>
<p>
Last Name <b> <?php print $last; ?> !?! </b>
</body>
</html>
On the first form it asks for first name and last name.
It then opens a second form that prints the information on screen.
What is happening is that the second form is opening but the information from the first form (the variables) are not showing.
I have the following php file called testing.php
<html>
<body>
<form action="testing1.php" method=post>
First name:<input type="Text" name="first"><br>
Last name:<input type="Text" name="last"><br>
<input type="Submit" name="submit" value="Enter information">
</form>
</body>
</html>
As you can see it opens a second file called testing1.php and it contains the following code.
<html>
<body bgcolor="#FFFFFF" text="#000000">
<p>
First Name<?php print $first; ?>
<p>
Last Name <b> <?php print $last; ?> !?! </b>
</body>
</html>