It's the way mysql_fetch_array() works - it returns both a numerical and associative index for each column unless specified otherwise. You can change that block of code to:
PHP Code:
maketableheader("Memberinfo details TEST (code in: admin/user.php line 308)");
$myquery=$DB_site->query("SELECT * FROM memberinfo WHERE email='$user[email]'");
$myresult = mysql_fetch_array($myquery, MYSQL_NUM);
mysql_free_result($myquery);
foreach ($myresult as $mykey=>$pointer){
makeinputcode($mykey,$mykey,$myresult[$mykey]);
}
which should work.