Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
11-02-2011, 09:40 PM #1
- Join Date
- Nov 2011
- Thanked 0 Times in 0 Posts
PHP Drop down List problem. Please Help
This is basically what i need. I need users to select a manufacturer to post on a classified ad.
When the users make the selection I need that information processed and sent to the page I point
it to permanently for other users to see. The same for any user that makes a post
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.
<select action="select.php" name="manufacturer"> <option value="Lincoln">Lincoln</option> <option value="Example">Example</option> </select>
echo "Manufacturer: ".$_POST['manufacturer'];
<?php echo "Manufacturer: ".$_POST['manufacturer']; ?>
I need to do this permanently.
11-02-2011, 10:25 PM #2
- Join Date
- Apr 2010
- Thanked 110 Times in 109 Posts
You can store it in a database to save it, or use set it as a global variable.Been a sign maker for 8 years. My business:
American Made Signs