The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm learning to create plugins. And I'm working on a plugin that should print out 6 categories from the databas.
Code:
$result = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "jobs WHERE act = 1");
Code:
$resultRequest = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "jobs WHERE act = 0 and category = '". $category['category'] ."' LIMIT 5");
I would like to print it out like this. Code:
+-----------------------+-----------------------+-----------------------+ | Category 1 | Category 2 | Category 3 | +-----------------------+-----------------------+-----------------------+ | Content in | Content in | Content in | | Category 1 | Category 2 | Category 3 | +-----------------------+-----------------------+-----------------------+ | Category 4 | Category 5 | Category 6 | +-----------------------+-----------------------+-----------------------+ | Content in | Content in | Content in | | Category 4 | Category 5 | Category 6 | +-----------------------+-----------------------+-----------------------+
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|