Jump to content

[SOLVED] Calling URL Again and Again With Loop


d.shankar

Recommended Posts

yes it is. run a for or a while loop, for is probably the best.

 

for($i = 1; $i <= 4; $i++){ //set i to 1. the loop will stop at 4. and after each loop add 1 to i.
echo "www.test.com/add.php?id={$i}";
}

 

hope it helps.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.