$filter = $HTTP_POST_VARS['att'];
$result = mysql_query("SELECT * FROM postingbob WHERE category ='{$filter}' ")or die(mysql_error());
That's my php code which basically takes values from 'att' in my html form
<div class="vx_two" style="float:right">
<select id="two" title="Select a category" class="pinkselect" name="att">
<option value="Addictions">Sort By Category</option>
<option value="Addictions">Default</option>
<option value="Addictions">Addictions</option>
<option value="Animals">Animals</option>
<option value="Arts">Arts</option>
<option value="Autos">Autos</option>
<option value="Beauty">Beauty</option>
<option value="Community">Community</option>
<option value="Confessions">Confessions</option>
<option value="Education">Education</option>
<option value="Food & Drink">Food & Drink</option>
<option value="Funny">Funny</option>
<option value="Games">Games</option>
<option value="Hate">Hate</option>
<option value="Health">Health</option>
<option value="Hobbies">Hobbies</option>
<option value="Holidays">Holidays</option>
<option value="Internet">Internet</option>
<option value="Legal Information">Legal Information</option>
<option value="Lifestyle">Lifestyle</option>
<option value="Movies">Movies</option>
<option value="Music">Music</option>
<option value="Office">Office</option>
<option value="Parenting">Parenting</option>
<option value="Pregnancy">Pregnancy</option>
<option value="Petitions">Petitions</option>
<option value="Relationships">Relationships</option>
<option value="Religion">Religion</option>
<option value="Science">Science</option>
<option value="Sex">Sex</option>
<option value="Sports">Sports</option>
<option value="Travel">Travel</option>
</select>
</div>
It does not show any results when i click the options from the drop down menu.I have a code to display it.(works when i dnt have the drop down in place), Don't think it's the 3 'addiction' options that cause it not to show.