<table class="table">
            <thead>
                <tr>
                    <th>Sr #</th>
                    <th>Replaced - New Guest</th>
                    <th>Replacing - Old Guest</th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($replacement as $replace): ?>
                    <tr>
                        <td><?=$replace['id']?></td>
                        <td>
                           
                            <p>ID : <?=$data['guests'][$replace['replaced']]['id']?></p>
                            <p>Name : <?=$data['guests'][$replace['replaced']]['name']?></p>
                            <p>Role : <?=$data['guests'][$replace['replaced']]['designation']?></p>
                            <p>Organization : <?=$data['guests'][$replace['replaced']]['event_category']?></p>
                            <p>Email : <?=$data['guests'][$replace['replaced']]['email']?></p>
                              
                        </td>
                        <td>
                           
                            <p>ID : <?=$data['guests'][$replace['replacing']]['id']?></p>
                            <p>Name : <?=$data['guests'][$replace['replacing']]['name']?></p> 
                            <p>Role : <?=$data['guests'][$replace['replacing']]['designation']?></p>
                            <p>Organization : <?=$data['guests'][$replace['replacing']]['event_category']?></p>
                            <p>Email : <?=$data['guests'][$replace['replacing']]['email']?></p>
                            
                        </td>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>