I have some code that I edited, and the foreach
loop is echoing out the value twice. I know WHY, but I don't know how to convert one of the foreach
to just be a variable? Or string?
foreach( $attendee_datas[$EM_Ticket_Booking->ticket_id] as $attendee_title => $attendee_data ){
$attendees = $EM_Booking->booking_meta['attendees'];
foreach($attendees as $key => $value) {
foreach($value as $value_attendee) {
echo $value_attendee["attendee_fname"]." ".$value_attendee["attendee_lname"] . "
";
}
}
}