If that's all that the problem is then the following should do the job:
<?php
for ($i =0; $i < $ValuenumtableChildren; $i++)
{
echo '<a href="viewingdetails.php?name='.$Valuechild[$i].'">'.$Valuechild[$i].'</a>';
}
?>
If the above code doesn't displaying anything at all then try the code in my previous post.