dpwhite Posted October 15, 2006 Share Posted October 15, 2006 I have a table in php which I want to write out to a mysql table.then I want to read it back into the array.I want to either loop thruough the array and write it, or write theentire array.How do I do it.Thanks Link to comment https://forums.phpfreaks.com/topic/24016-readingwriting-php-array-to-mysql/ Share on other sites More sharing options...
Barand Posted October 15, 2006 Share Posted October 15, 2006 use a foreach loop to iterate through the array and use a mysql insert statement to write each record. Link to comment https://forums.phpfreaks.com/topic/24016-readingwriting-php-array-to-mysql/#findComment-109152 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.