[Solved] how to generate a random string + text + multiple lines


you can use a for loop to generate it 3000 times

for($i = 0; $i < 3000; $i++){
    echo 'mytext/'.generateRandomString().'<br>';
}

The answer was inside your code snippet that you provided

solved how to generate a random string + text + multiple lines