I have been searching for an answer to this for the last two days.
I am trying to add a list of manufacturers to an existing form in php.
This worked out ok and I got it to work somewhat.
Here is the problem when the user makes the selection and submits the form
it takes them to another page that shows them a preview of their post.
In this preview it show them the manufacturer they selected. But when they finalize the the
post it doesn't show using the same code.
I know that their must be a simple way of doing this. I am not great with php but I have put forth a valiant effort to get this done. I am stumped please help.
Here is my code.
HTML:
<select action="select.php" name="manufacturer">
<option value="Lincoln">Lincoln</option>
<option value="Example">Example</option>
</select>
PHP:
<?php
if(isset($_POST['manufactuer']))
echo "Manufacturer: ".$_POST['manufacturer'];
else {?>
I call to the selection with this.
<?php echo "Manufacturer: ".$_POST['manufacturer']; ?>
How do I show this when the user posts and if the same user posts again or a different user posts to show their selections for those specific posts.
posts