Ask Experts Questions for FREE Help !
Ask
    Scotty13's Avatar
    Scotty13 Posts: 120, Reputation: 1
    Junior Member
     
    #1

    Oct 10, 2011, 06:37 AM
    Building a php scripts dropdown
    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

Check out some similar questions!

Trying to find screenplays to practice my Acting. [ 4 Answers ]

Hey guys. I got to practice acting (reading scripts I mean) but I don't have enough time to find some on the internet. It would be incredibly awesome if someone coud just post some on here, commercials would be great. Thanks soooooooo much! I HAVE FAITH IN YOU! :)

How to retain selected value from a dropdown list in a db? [ 0 Answers ]

how do I save the selected value from the drop down list below into a mysql database? (the drop down list fetchs records from a table in the database) <?php print "Select Hairdresser: "; $query="SELECT Staff_Name, Staff_Surname,id FROM staff ORDER BY Staff_Surname ASC"; $result = mysql_query...

No dropdown Menu [ 1 Answers ]

I have IE 8.0 on My Laptop, I can access few sites normally however on few of the sites thereis no Drop down Menu. It comes Blank which I know is there if I access it throough some other PC through the same Network I have. Moreover I have downloaded Java Latest version today and tried to access the...

Address bar's dropdown box [ 1 Answers ]

When I visit some websites, they store their url in my address bar's dropdown menu. How can I make this happen for my own sites? Thanks: Darrel


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.