多个复选框可插入和检索 [英] Multiple checkboxes insert and retrieve
本文介绍了多个复选框可插入和检索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
如何在数据库中插入多个选中的复选框,然后稍后在其他表中将其取回?代码在下面.
Hi all
How can I insert multiple selected checkboxe(s) in a database and then retrieve it back later in the different table ? the code is below
推荐答案
为此,选中的复选框必须代表一些唯一的标识符/键.存储所选复选框的唯一键.在需要显示选择内容时检索键.
For this, selected checkboxes must represnt some unique identifier/key. Store the unique keys of selected checkboxes. Retrieve the keys when needed to show the selection.
这篇关于多个复选框可插入和检索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文