C cliffordstoll New Member Jul 11, 2011 #1 Hi, i would write a world 50 times in PHP which language i use? Pleas tell me the simple code?
TehGuy Active Member Jul 12, 2011 #2 PHP: <?php for ($i = 0; $i < 50; $i++) { echo "a world"; } ?> Though I get the impression this isn't actually what you want.
PHP: <?php for ($i = 0; $i < 50; $i++) { echo "a world"; } ?> Though I get the impression this isn't actually what you want.
iBrightDev Jay Street NLC NLC Jul 13, 2011 #3 i prefer this, but, essentially the same... PHP: <?php for ($i = 1; $i <= 50; $i++) { echo "{$i}: a world<br/>"; } ?>
i prefer this, but, essentially the same... PHP: <?php for ($i = 1; $i <= 50; $i++) { echo "{$i}: a world<br/>"; } ?>