I want to include files in my webpage, but the pages are like this: new1.php new2.php
The number is increasing and i want to include all files with new(a number).php I really don't know how to do that and i can't find it elsewhere.
now i have :
<?php include('includes/new1.php'); ?>
<?php include('includes/new2.php'); ?>
<?php include('includes/new3.php'); ?>
<?php include('includes/new4.php'); ?>
But it is a lot of work to include them all by hand. Is there a way to include the files without doing a lot of work?
Thanks in advance!