Skip to content

Student Listing: Adding Navigation Menu - Page Titles

Let's modify pagetitles.php as follows add page titles for index.php and studentdetails.php:

pagetitles.php - Student Listing: Complete Code Listing

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<?php
    // Page Titles
    define('SL_HOME_PAGE', 'Student Listing');
    define('SL_DETAILS_PAGE', 'Student Listing - Details');
    define('SL_SIGNUP_PAGE', 'Student Listing - Sign Up');
    define('SL_LOGIN_PAGE', 'Student Listing - Login');
    define('SL_UNAUTHORIZED_ACCESS_PAGE', 'Student Listing - Unauthorized Access');
    define('SL_ADD_PAGE', 'Student Listing - Add Student');
    define('SL_EDIT_PAGE', 'Student Listing - Edit Student');
    define('SL_REMOVE_PAGE', 'Student Listing - Remove Student');