Page 1 of 1

array into mysql

Posted: Mon May 01, 2006 5:18 am
by ilavos
This a probabbly been posted already,but i've spent a long time on google and on the forum search engine and havent found anything,so this is my last resort.Here's my problem:I have gathered various data that i've put into an array.But now i'm stuck,because i dont know how to store that in mysql.Can anyone point me to where I might find a solution?Thanks ahead.

Posted: Mon May 01, 2006 5:47 am
by raghavan20
You can format your array into a csv file and use phpMyAdmin or any database tool to upload into some table in mysql which matches with csv fields.

Posted: Mon May 01, 2006 5:50 am
by timvw
What's your problem exactly?

- Don't know how to serialize a php variable into a string?
- Don't know how to map php array to a sql table?
- Don't know SQL?
- ...