id: '<?php echo $child['Parent_Mentor_Children_Link_ID']; ?> ' }, function(response) { window.location = 'participant_profile.php'; } ).fail(failAlert);"> <?php } ?> </td></tr><?php } } if ($spousearr = $parti->get_spouse_of_person()) { while ($spouse = mysqli_fetch_array($spousearr)) { ?> <tr><td>Spouse</td> <!--Link to spouse's profile: --> <td><a href="javascript:;" onclick=" $.post( '../ajax/set_participant_id.php', { page: 'profile', participant_id: '<?php echo $spouse['Spouse_ID']; ?> ' }, function(response) {