![]() |
While loop only outputting one result?
I am trying to get all the results from a table but the while loop is only outputting one thing?
home.php: PHP Code:
Code:
{vb:stylevar htmldoctype} |
You want to change the assignment inside the loop to "$ouput .= " (add the '.'), so that you add to the string on each iteration instead of overwriting it.
|
That worked! Thanks a lot!
|
All times are GMT. The time now is 02:35 AM. |
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:
|