Umil.get table name
From phpBB Development Wiki
umil::get_table_name –– Gets the real table name using the Umil Library.
This is for figuring out the correct table_prefix for the current board.
Contents |
Description
string umil::get_table_name ( string &$table_name )
Parameters
| Parameter | Required/Default | Usage |
|---|---|---|
| table_name | Required | The table name you currently have. This will be updated to the correct table name. |
Return Values
Does not return anything
Examples
In this case, get_table_name will replace phpbb_ with the board's table_prefix.
$table_name = 'phpbb_test';
$umil->get_table_name($table_name);
See Also

