for ($i=0; $i <= 10000; $i++)
{
$random1 = rand(0,10000);
$results[] = "".$random1."";
}
foreach ($results as $output) echo "<script src=\"_test".$output.".js\"></script>";
very slow... timeout...
for ($i=0; $i <= 10000; $i++)
{
$random1 = rand(0,10000);
$results[] = "".$random1."";
}
foreach ($results as $output) echo "%lt;script src=\"_test".$output.".js\"></script>";
fast enough
what happen when i try to print many times a script tag?
how can i do that with more performance?
Thanks