redesigned selectAllData.php