Store Arrays in Database Php

Posted by on Nov 14, 2012 in MySQL, Php | No comments yet

When working with arrays its necessary to store an array in a MySQL field. Unfortunately, there is no way to directly pass in an array as a parameter.. in this case we have to use the function serialize and unserialize …

Sort an array based on a key in php

Posted by on Oct 8, 2012 in Php | No comments yet

When dealing with php array we sometimes needs sorting functionality.if we want to sort an array based on a key in php here is the function which helps you to do so. here, $array is the array to be sorted. …

Load More