Home › Forums › General Issues › Storing repeater values as one single array in the database › Reply To: Storing repeater values as one single array in the database
Yes, it’s possible to store all repeater values as one array in the database. One approach is to serialize the repeater data into a single array before storing it in the database. This way, you’ll only have one database field storing all the repeater values for each post. When retrieving the data from the database, you can unserialize the array to access the individual values.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.