![]() |
Content Type Id
Hi,
I'm trying to get the extension of a defined attachement on the DB. On vB3, I used : Code:
SELECT attachmentid, userid, dateline, contentid, extension But on vB4, there isn't 'extension' field anymore. There is a 'contenttypeid' field in 'vb4_attachment' table and an 'extension' field in 'vb4_attachmenttype' table, and I didn't find any link between these fields. Can you help me? Thanks PS : Is there any diagram of the database somewhere? |
In attachments you will find a field called filedataid - this links you to the relevant record in te filedata table, the extension is one of the fields in this table.
|
Ok it works, thanks ;)
|
All times are GMT. The time now is 12:56 PM. |
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:
|