Actually sid is just part of the files name,i can also change it to <?php include_once('$row_RS['NO']_page.html);?> $row_RS['NO'] is the number which has been store into database table. for example if $row_RS['NO'] is 5, then it will include 5_page.html files