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.

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']; ?>

This code only displays for the current session.
I need to do this permanently.

Not sure what you want exactly but I think you need to save the results of the $_POST to the database if you want it accessible permanently.

Try http://uk.php.net/mysqli for more information

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.