Jump to content

small question. :]


Dark_Archon

Recommended Posts

<?php   

 

for ($i = 1;  $i < 50;  $i++) { 

 

echo("<iframe src=\"http://www.url.com/$i\"></iframe>"); 

 

}   

 

?>

 

this is changing the www.url.com/1, and increasing it by one each time till 50.

i was wondering how id get it to give me 5-100, skipping the 1-50 altogether.

 

thanks for the help

Link to comment
https://forums.phpfreaks.com/topic/87288-small-question/
Share on other sites

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.