I have taken the data from database into array now I want it to send it back into database by using the insert query.
How can I insert the array of the data into the database?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Inserting into the database is pretty much the reverse of reading from it. You don’t say what the structure of your array is but here is some skeleton code you should be able to adapt to your needs: