![]() |
Custom Coded Page into Template
Hi.
I'm making a custom vB page and I need to grab about 25 results from the database (not the vbulletin database) that will be displayed there (php/mysql). I'm using a while loop to grab the data. The problem is, I have absolutely no idea how to send that info into the vbulletin template. I can assign data to variables (like $a = 1) but I don't know how to assign the array along with executing the html properly in the vB template. Help! |
PHP Code:
|
I went searching for another while loop and forumdisplay had one. I saw the eval() statement and it all clicked :D Man is it much easier once things are clearly understood.
Thanks for the help, appreciate it! |
Make sure to flip around the period and equals sign in the eval call.
PHP Code:
|
All times are GMT. The time now is 06:22 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:
|