![]() |
grab the latest attachment from certain forum id
:rolleyes: im looking for a small query to grab the latest attachment only jpg's in a certain forum id to be displayed on the home page :D possible ?
|
the image should also link to the thread where it came from
|
ok here is sumthin similar but i need to modify it
$attach=$DB_site->query_first("SELECT attachmentid,counter,filename FROM attachment ORDER BY counter DESC LIMIT 1"); i need to add a forum id there sumhow select from* forum id XXX |
I can't remember much of vB2 code, but try:
PHP Code:
|
i get this error
PHP Code:
Quote:
|
Yeah - didn't think it'll work. I'll look into it
|
im still trying and no luck :( any news assassin ?
|
All times are GMT. The time now is 08:31 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:
|