![]() |
[Forum] Display custom table SQL query with while loop
Original: https://www.vbulletin.com/forum/show...hin-while-loop
I've created a template within my style so that it keeps the same look at feel of or forum. The variable $out is only showing the <th> before and after the while loop, but not the <tr><td> output of loop itself. Am I missing something here? custom_file.php Code:
<?php Code:
$stylevar[htmldoctype] |
You're missing the actual query call:
Code:
$output = "<table><th>1</th><th>2</th><th>3</th><th>4</th>"; |
Thanks a ton! Definitely spent too much time looking too hard and didn't see what I was missing. Much appreciated! Even works with the <vb if> stuff for different usergroups in the production page.
|
All times are GMT. The time now is 01:10 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:
|