}
                ).fail(failAlert);" />
<?php 
}
?>
</td>
        </tr>
    </table><br/><br/>
    <div id="show_edits"></div>

    <!--Children and Parents - not everyone will have them, but everyone has the option.-->
    <table class="inner_table">
        <caption><h4>Family Members</h4></caption>
        <tr><th>Relation</th><th>Name</th><th></th></tr>
                <?php 
if ($parents = $parti->get_parents()) {
    while ($parent = mysqli_fetch_array($parents)) {
        ?>
                <tr><td>Parent</td>
                    <!--Link to parent's profile: -->
                    <td><a href="javascript:;" onclick="
                               $.post(
                                       '../ajax/set_participant_id.php',
                                       {
                                           page: 'profile',
                                           participant_id: '<?php 
        echo $parent['Participant_ID'];
        ?>
'
                                       },
                               function(response) {