edit getTitles.php