As long as there isn't a massive amount of data to save you can just use serialize() and unserialize() to save the data to a text field in the database. On Nov 3, 2010 7:10 PM, "melissa_brown35" <melissa_brown35@xxxxxxxxx> wrote: > how save elements of an array in database when we do not know that how many elements are in array Like elements might be 5 or 10. > [Non-text portions of this message have been removed]