Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Nevermind, I got it. I had Unique for a field which made it mad. "Rob Packer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > oops, sorry about the other post (I've got a baby that likes the > keyboard)... > > Hi, > > This is the form, which I had doubts abo

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
oops, sorry about the other post (I've got a baby that likes the keyboard)... Hi, This is the form, which I had doubts about, but it seemed to put things into the array correctly when I tested it by printing it out. I can't see how, it will print key=0 value=index.html key=1 value=about.html key

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
"John Holmes" <[EMAIL PROTECTED]> wrote in message 001201c21ab5$0df073a0$b402a8c0@mango">news:001201c21ab5$0df073a0$b402a8c0@mango... > Your second method should work, but it's dependent on what your form > looks like and how your table was created. You obviously have a key set > for this column

RE: [PHP] Insert an array into MySQL

2002-06-23 Thread John Holmes
Your second method should work, but it's dependent on what your form looks like and how your table was created. You obviously have a key set for this column and you're trying to insert the same value twice, which makes an error. Show us what your form looks like, not the whole thing, just for the