I have the following code:
for($counter = 1; $counter <= 50; $counter++)
print "AJ00" . "$counter" . "<br>";
This code will print AJ001. AJ002, AJ003 until AJ0050,
How can I create a folder for each reference, a folder named : AJ001, another folder named AJ002 until I reach the last folder AJ0050...