Hi,
I am pretty new to php and I am sure that there is a something glaring that I am missing, but I am hoping someone can help me.
I have to custom fields that each contain multiple values and I am trying to get them to display in sequence. I am using the code:
<?php
$m_venue = get_post_meta($post->ID, "monday_venue_name", false);
$m_event = get_post_meta($post->ID, "monday_event_description", false);
foreach ( $m_venue as $m_venue) {
if ($m_venue){
echo '<div>'.$m_venue.'</div>';
echo '<div>'.$m_event.'</div>';
}
}
?>
I can get the $m_venue to display correctly, but $m_event simply comes out as "Array".
I believe I need to break up the array into its individual vales, but I am having trouble figuring out how to do that.
If anyone has some suggestions about how I might do this, or where I might turn for more information, I would greatly appreciate it.
Thank you very much!