How can I check whether a table exist or not inside a 1.4 plugin. In one my plugin's is_Installed method I need to return true if the table exists.
You don't <have> to use the install procedures unless you install tables / change/add columns to the MyBB schema etc.
Here's an example
function yourplugin_is_installed()
{
global $db;
if($db->table_exists("thetable"))
{
return true;
}
return false;
}
Thanks a lot. I have a new table as part of my plugin.