Quote:
Originally Posted by cowbert
This does/will not work because I am pretty sure TABLE_PREFIX points to the $config['Database']['tableprefix'] value.
It looks like vbulletin is unable to query any tables except its own. Unless there is some sort of tablenamespace cache I have to flush. (I'm not using any caching just the normal mysqli to a single mysql server setup).
|
That will work fine. I have coded several mods which use custom tables and that works ok for me.
The error you got is, as I mentioned above, that your custom table is using a prefix and when the query is run, it doesn''t find it.
Or enter the full table name with the prefix included in the query.