hello friends i need to make a edit profile page in my website,while registering a user can select multiple locations using multiple select options,so while editing user must get defaultly selected options while registering,i tried using multiple=multiple,but after getting details from databas it must select automaticlly....i cant do that can anyone help me regarding this???
Thanking you in advance!!!
shivarocks 0 Newbie Poster
Recommended Answers
Jump to PostI think one more option is checkbox, what do you think?
Jump to Post@developer....good to see more CF developers!
I would assume however that the OP is not using CF, but the premise is the same. To populate a select list with database values, you would need to query the database:
SELECT All data pertaining to this user
WHERE SomeUser …
All 6 Replies
@developer 3 Junior Poster in Training
shivarocks 0 Newbie Poster
Rajib Ganguly 0 Newbie Poster
@developer 3 Junior Poster in Training
teedoff 3 Posting Pro
@developer 3 Junior Poster in Training
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.