![]() |
Blocks and return value
Hi. How could I get results of following loop to side block on my forum (php/html)
So output 5 times $description : Code:
$limit = 5; $my_output = 'Hello, world.'; return $my_output; But if I add "return $description;", I get only one output cause "return" immediately ends execution of the code. |
This will return all 5 descriptions in one shot..
Code:
$limit = 5; Or $description can be returned as an array.. Code:
$limit = 5; |
Thank you !
|
All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|