![]() |
...and i need some direction please :)
I've created a new table - let's call it 'mark' there're four field within it: id category description image If I wanted to call the values of these fields into a vB template, what exactly would I need to do? I thought I would be able to just do something like: PHP Code:
I imagine I may need to edit functions.php or global.php, but as has been demonstrated by my stoopid questions in the past, I'm not that bright when it comes to PHP ;) Any assistance would be appreciated :D PS - anyone else think a 'Creating Hacks For vBulletin' tutorial would be welcomed by thousands?;) |
Quote:
|
Code:
$mark=$DB_site->query_first("SELECT image,description FROM mark WHERE id=$id"); |
Thanks Firefly, yet again :) I really appreciate your help :)
|
All times are GMT. The time now is 11:19 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:
|