hi how can i include a range of numbered files like
file1.php,file2.php,file4.php
i have tried this code but it didn't work

<?php foreach (range(0, 7) as $fileno) {
	
    include "files/file" + $fileno + ".php";}?>
<?php for($i=0;$i<8;$i++) include ("files/file".$i.".php"); ?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.