php help
php help
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- vdc0
Your code works fine, although this does the same thing in fewer lines:
for ($i=0; $i < 200; $i++) {
print '<media file="images/image_' . sprintf("%03d", $i) . '.jpg"></media>';
}