一个数组到数据库,我很难,帮助!! [英] an array to a database, am having hard time , help!!

查看:54
本文介绍了一个数组到数据库,我很难,帮助!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨伙计和女孩们,

i有一个数组,但我最难把价值放在桌子上,

那么正常程序是什么? />

谢谢

Jim

解决方案

Jim S.写道:

嗨伙计们和gals,我有一个数组,但我最难把价值放在
表中,那么正常程序是什么?



http://www.php.net/serialize
JW


我不认为序列化就是这个问题的答案。也许它只是一个

简单的做和sql插入?


Sean Barton


< blockquote> Sean Barton写道:

我不认为序列化就是这个问题的答案。也许它只是一个简单的做和sql插入?




如果没有正确的描述,我假设OP想存储一个

数组到一个数据库字段。


JW


hi guys and gals,
i have an array, but i have the hardest time putting the value in the table,
so what is the normal procedure?

thanks
Jim

解决方案

Jim S. wrote:

hi guys and gals,
i have an array, but i have the hardest time putting the value in the
table, so what is the normal procedure?



http://www.php.net/serialize
JW


i dont think serialization is the answer to this one. maybe its just a
simple do while and sql insert?

Sean Barton


Sean Barton wrote:

i dont think serialization is the answer to this one. maybe its just a
simple do while and sql insert?



Without a proper description, I''m assuming that the OP wants to store an
array into a single db field.

JW


这篇关于一个数组到数据库,我很难,帮助!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆