Hey,

I am using the following drop down box to pull out values from a database:-

PHP Code:
        <?php
            
include ("conn.php");
                        
            
$catsql "SELECT * FROM threads";
            
$result mysql_query($catsql);
            
            
$options="";
            
            while (
$row=mysql_fetch_array($result)) 
            {
                
$cat_id=$row["thread_id"];
                
$cat_name=$row["thread_name"];
                
$options.="<option value=\"$cat_id\">".$cat_name;
            }
            
?>
            <select name="thing">
            <option value="0">Choose
            <?=$options?>
            </option>
        </select>
I dont want to have a button to click to take users to a page. I want the user to select an option and the be taken to the specific page.

However what i want is to send the user to page like this:-

posts.php?thread_id=19&thread_name=Heaton Park Goals Development
This information will come from teh drop down box, but i dont know how to do this?

Regards