Can anyone help in this please
Just wanted to keep the table as drop down menu

</table>

<p>&nbsp;</p>
<table bgcolor="#CB344F" cellpadding="0" cellspacing="0" align="left">
<tr>
<td align="left">
<p>Search Information</p><br/>
<form action="pst.php" method="GET">
First Name:<br/>
<input type="text" name="f" style="width:150px;"><br/>
Last Name:<br/>
<input type="text" name="l" style="width:150px;"><br/>
Company <br/>
<input type="text" name="co" style="width:150px;"><br/>
Skill:<br/>
<input type="text" name="s" style="width:150px;"><br/>
Email: <br/>
<input type="text" name="e" style="width:150px;"><br/>
State: <br/>
<select name="pl" style="width:150px">
                 <option value="">Search By Location</option>
  <option value="">Anywhere</option>
                        <option value="AL OR Alabama">Alabama</option>
                        <option value="AK OR Alaska">Alaska</option>
                        <option value="AR OR Arkansas">Arkansas</option>
                        <option value="AZ OR Arizona">Arizona</option>
                        <option value="CA OR California">California</option>
                        <option value="CO OR Colorado">Colorado</option>
                        <option value="CT OR Connecticut">Connecticut</option>
                        <option value="DE OR Delaware">Delaware</option>
                        <option value="FL OR Florida">Florida</option>
                        <option value="GA OR Georgia">Georgia</option>
                        <option value="HI OR Hawaii">Hawaii</option>
                        <option value="IA OR Iowa">Iowa</option>
                        <option value="ID OR Idaho">Idaho</option>
                        <option value="IL OR Illinois">Illinois</option>
                        <option value="IN OR Indiana">Indiana</option>
                        <option value="KS OR Kansas">Kansas</option>
                        <option value="KY OR Kentucky">Kentucky</option>
                        <option value="LA OR Louisiana">Louisiana</option>
                        <option value="MA OR Massachusetts">Massachusetts</option>
                        <option value="MD OR Maryland">Maryland</option>
                        <option value="ME OR Maine">Maine</option>
                        <option value="MI OR Michigan">Michigan</option>
                        <option value="MN OR Minnesota">Minnesota</option>
                        <option value="MO OR Missouri">Missouri</option>
                        <option value="MS OR Mississippi">Mississippi</option>
                        <option value="MT OR Montana">Montana</option>
                        <option value="NC OR 'North Carolina'">North Carolina</option>
                        <option value="ND OR 'North Dakota'">North Dakota</option>
                        <option value="NE OR Nebraska">Nebraska</option>
                        <option value="NH OR 'New Hampshire'">New Hampshire</option>
                        <option value="NJ OR 'New Jersey'">New Jersey</option>
                        <option value="NM OR 'New Mexico'">New Mexico</option>
                        <option value="NV OR Nevada">Nevada</option>
                        <option value="NY OR 'New York'">New York</option>
                        <option value="OH OR Ohio">Ohio</option>
                        <option value="OK OR Oklahoma">Oklahoma</option>
                        <option value="OR OR Oregon">Oregon</option>
                        <option value="PA OR Pennsylvania">Pennsylvania</option>
                        <option value="RI OR 'Rhode Island'">Rhode Island</option>
                        <option value="SC OR 'South Carolina'">South Carolina</option>
                        <option value="SD OR 'South Dakota'">South Dakota</option>
                        <option value="TN OR Tennessee">Tennessee</option>
                        <option value="TX OR Texas">Texas</option>
                        <option value="UT OR Utah">Utah</option>
                        <option value="VA OR Virginia">Virginia</option>
                        <option value="VT OR Vermont">Vermont</option>
                        <option value="WA OR Washington">Washington</option>
                        <option value="WI OR Wisconsin">Wisconsin</option>
                        <option value="WV OR 'West Virginia'">West Virginia</option>
                        <option value="WY OR Wyoming">Wyoming</option>

                  </select>

 <input type="submit" value="Search"><br/>
Member Avatar for Rkeast

What exactly is the problem you are having? The form appears correctly for me (after adding the missing </form>,</tr>, and </table> tags).

I was looking to make the complete table a drop down
its should have snippet view and when opened all details should come up

Member Avatar for Rkeast

I was looking to make the complete table a drop down
its should have snippet view and when opened all details should come up

I see. You're probably not going to be able to accomplish that with PHP, as PHP is a preprocessor. That meaning that once the script has finished running, you can't redo anything without running the script again.

You will probably want to look into a JavaScript solution to this. I am not very good with JavaScript personally, otherwise I might be able to help, but I would try posting this on the JavaScript /DHTML /AJAX forum.

Good luck :)

This was not in php

but before it goes to php its a HTML form where user fills and php gets the info

I was trying to make a snippet view of table

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.