nahsorhseda
Member
- Messages
- 116
- Reaction score
- 0
- Points
- 16
suppose i have 10 files in order(ie 1.txt,2.txt,3.txt,4.txt.......10.txt) and i want to delete all 10 files at once
how do i do it using loops
just change the below script if possible
<?
how do i do it using loops
just change the below script if possible
<?
PHP:
for($i=1;$i<=10;i++)
{
unlink("$i.php");
}
?>