I http://www.har****tripathi.com have faced a big problem when we are trying to insert an array into database, but the more bigger problem is to use a select query on them. after many practicals, i have found a good solution of this. Here comes the serialize function of PHP.
By using this One can put and get array in and from a database as a single field or variable.