Thanks – I understand what that snippet does and it makes sense that it should work, but I get this error message:
Warning: unserialize() expects parameter 1 to be string, array given in (followed by the path to my theme file).
I tried changing it to add true to indicate that it’s a string and not an array(?) but that didn’t change the error.
$myvalues = unserialize( get_post_meta($post->ID,'my_key',true) );
Any ideas?