how to break array into chunks and post them to mysql?

Questionshow to break array into chunks and post them to mysql?
sethbeckerman5 Staff asked 13 years ago

I have got value using

actually I got an array containing several values but I want to break them int chunks of 3 and post them into database….what to do?

can I post them using foreach ??
if yes then how?
if no then what are the other methods?


View on Stack Overflow