The way I would probably do it is set a value for your custom keys, i.e.
get_post_meta($post->ID, ‘gt_price-obso’, true)
will return “Own Bike Double Occupancy (shared room)”
The way I would implement this:
<?php
$keys = array(‘gt_price-do’,’gt_price-obso”gt_price-so’,’gt_price-c’,’gt_price-obdo’,’gt_price-obso’);
$value = “”;
foreach($keys as $key)
{
$tmpValue = get_post_meta($post->ID, $key, true)
}
?>
That isnt all of it but should be enough to get you going.
Regards,
Zac