php create string form serialize code example
Example 1: php serialize()
php array to be storable value in $_SESSION:
serialize($array)
serialized array element to be output on page:
unserialize($serializedArray)
Example 2: jquery serialize php decode
//the GET parameter is the data outputted from jQuery's .serialize() function
$params = array();
parse_str($_GET, $params);