java数组存入mysql_java中如何将字符串数组保存在数据库里

数组内容如下:count=8allGameNum=4time=15qtxt0=Hello,I'mDavid.I'mnewhere.Hello,I'mHelen.Letmeshowyouournewbuilding.Howmanyclassroomsarethereinthebuilding?Therearethirty.Ar...

数组内容如下:

count=8

allGameNum=4

time=15

qtxt0=Hello, I'm David. I'm new here. Hello, I'm Helen. Let me show you our new building.How many classrooms are there in the building?There are thirty.Are there any reading rooms?

t0=C5-1

as0=1Yes, there are. There are two reading rooms.

bs0=Yes, there are thirty classrooms.

img0=C5-1

qtxt1=Hi, Ben. Weclome to my new house. Hi, Mary. Your garden is so beautiful. Thank you. Let's go and look at my new room? Wow, It's small but nice. Are there any flowers in your room?

t1=C5-2

as1=1Yes, there are. They're in the green vase.

bs1=Yes, there are. They're in the garden.

img1=C5-2

其中

qtxt,t0 ,as0,bs0,img0这些在数组中会有多个。不过在数组中名字会变,等于号后面的是要存入数据库中的数据,count,allGameNum,time在数组中是只有一个的。也需要取到后面的值存入数据库!请高手指点。谢谢!

展开

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值