Hi, I have a form on my website that once submitted, I want the data to be posted on the page it redirects to. Here is what I am doing (with just one of the form fields) Form <input type="text" name="fname" id="fname" size="30" /> PHP code on next page <?php $fname = $_POST ['fname']; echo "<p>The following information has been submitted:</p>"; echo "<p>First Name: " . $fname . "</p>"; ?> The crazy thing is this...It was working at one point, the data from the form was being posted with the above code...but now I have no idea what happened, it just all of a sudden stopped working. Any help would be great!!!
<?php $fname = $_POST['fname']; echo "<p>The following information has been submitted:</p>"; echo "<p>First Name: " . $fname . "</p>"; ?> PHP: There seemed to be a blank space between the $_POST and ['fname']. Try correcting this and test again aXe