# Building a php scripts dropdown: “edit profile” and “search” for members

**URL:** <https://forum.kirupa.com/t/building-a-php-scripts-dropdown-edit-profile-and-search-for-members/325340>\
**Category:** web dev\
**Created:** [October 10, 2011, 1:35pm UTC](https://forum.kirupa.com/t/building-a-php-scripts-dropdown-edit-profile-and-search-for-members/325340 "2011-10-10T13:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scotty13](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Scotty13](https://forum.kirupa.com/u/Scotty13)\
**Post date:** [October 10, 2011, 1:35pm UTC](https://forum.kirupa.com/t/building-a-php-scripts-dropdown-edit-profile-and-search-for-members/325340/1 "2011-10-10T13:35:34Z")

</div>

Building a social network and I want my members to be able to \*\*edit profile and search \*\*for other members from a drop down menu. Select (highlight) / Search / Enter  
I don’t have my website up and running so, I’m not sure if my php entries are correct.  
Could you take a look please to see if I’m missing anything?  
I have the following two…  
#1. edit\_profile.php  
　  
\<td width=“36%” class=“totheright”\>\<strong\> \<span class=“boldtext”\>Work Status\</span\>:  
\<select name=“workstatus” class=“formFields”\>  
\<option value="\<?php print “$workstatus”; ?\>"\>\<?php print “$workstatus”; ?\>\</option\>  
\<option value=“Retired”\>Currently Employed\</option\>  
\<option value=“Retired”\>Retired\</option\>  
\<option value=“Retired”\>Diff Career\</option\>  
\</select\>  
&nbsp;&nbsp;\</div\>\</td\>  
\<td width=“14%”\>  
\<input name=“parse\_var” type=“hidden” value=“workstatus” /\>  
\<input type=“submit” name=“button7” id=“button7” value=“Submit” /\>\</td\>

* * *

#2. search\_profile.php

\</tr\>  
\<tr\>  
\<tr\>\<td height=“100” class=“style7”\>\<div align=“right”\>Work Status:\</div\>\</td\>  
\<select name=“mydropdown”\>  
\<option value=“Currently Employed”\>Currently Employed\</option\>  
\<option value=“Retired”\>Retired\</option\>  
\<option value=“Diff Career”\>Diff Career\</option\>  
\</select\>  
\</tr\>  
\</table\>  
\<hr /\>  
Thanks, Scott
