开发者

Entering Values into dropdown and Saving

Is it possible for entering values into dro开发者_C百科pdown and saving that values to DB? If yes please help me by giving the code for that.


A dropdown? Like a select form field? It is possible. After the form posts, you can check the values and do sql inserts as you wish. Of course cleaning and validating the data is on you though.


When a form posts back a drop down list field, I thought that only the selected value was posted back.

If that is the case, how are your values getting into the drop down list? If they are being added client-side, then they won't all make it back to the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜