<div class="page">
<a href="#" class="link" data-id-page="1"> Link 1</a>
<a href="#" class="link" data-id-page="2"> Link 1</a>
</div>
$(document).ready(function(){
function get_info(id){
$.get( "test.php?id"+id, function( data ) {
$( ".page" ).append( data.content );
}, "json" );
}
$(document).on("touchend click", "a", function(e){
e.preventDefault();
get_info($('this').data("id-page"))
});
});
<tr onclick="this.form.submit.disabled=0 , document.getElementById('radio_<?=$record['id']?>').checked = true; ">
<th><input id="radio_<?=$record['id']?>" type="radio" name="test" value="<?=$record['id']?>" "></th>
<th><?=$record['id']?></th>
<th><?=$record['name']?></th>
<th><?=$record['email']?></th>
<th><?=$record['password']?></th>
<th ><a href="delete.php/?edit_id=<?=$record['id']?>&name=<?=$record['name']?>">редактировать</a></th>
</tr>
<img src="<?=$info['dirname'] . '/' . $info['filename'] . '.' . 'webp'?>">
И перебор вообще не нужен.
Причем тут PHP если теги JAVASCRIPT и JQUERY???