Topic: How to get TB_PREF defined value?
I've been trying to figure out either core function is defined TB_PREF or I'll have to make a function for it. I'm making several functions and I don't from where to get TB_PREF for SQL query...
Update--
I found that TB_PREF is defined in current_user.php with value of &TB_PREF&, so how it is used?
Solution--
As mentioned above, TB_PREF is defined in current_user.php with value of &TB_PREF& which then is replaced with prefix of company related tables in db_mysqli.php using str_replace() function...