shortybookit Posted March 16, 2007 Share Posted March 16, 2007 not sure if this is the right forum for this topic but in any case it is very basic-- i have a field in my tale states---enum---'a','b' my question is the following on my registration page what do i use so the states show up in a pull down menu??? and plz type up a basic script for it so i am not here all day asking were do i put this and were do i put tht::thanks much Quote Link to comment Share on other sites More sharing options...
interpim Posted March 16, 2007 Share Posted March 16, 2007 you have to build it either in html, or use a loop to go through an array and write each one... either way your still going to have to write out all the states and the code for it... Quote Link to comment Share on other sites More sharing options...
shortybookit Posted March 16, 2007 Author Share Posted March 16, 2007 i know i have to them all out--- but what form do i use????? Quote Link to comment Share on other sites More sharing options...
per1os Posted March 16, 2007 Share Posted March 16, 2007 This is HTML not really PHP, but here it is <select name=states> <option value='CA'>California</option> <option value='CO'>Colorado</option> ....etc </select> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.