Well I do appreciate your efforts, but even a direct copy & paste still kills my d/b, resulting in errors when using this widget.
PHP Code:
Database error in vBulletin 4.0.2:
Invalid SQL:
SELECT * from vb blog order by dateline DESC LIMIT 20;
MySQL Error : Table 'XXXX.vb' doesn't exist
Error Number : 1146
Request Date : Thursday, April 1st 2010 @ 02:59:33 AM
Error Date : Thursday, April 1st 2010 @ 02:59:43 AM
Script : http://antimisandry.com/content/
Referrer : http://antimisandry.com/members/yan-yan/
IP Address : **.**.**.**
Username : ----------
Classname : vB_Database
MySQL Version :
I don't understand code too well, so can't really comment on why this is happening... but again, if you note the above error message (received via email moments after testing your latest code offering) - it still claims to be trying to read a table with the name of my database.