No edit summary |
m (refresh SMW properties) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
|example=<nowiki> $versions['db_server'] = array('title' => sprintf($txt['support_versions_db'], $smcFunc['db_title']), 'version' => '');</nowiki> | |example=<nowiki> $versions['db_server'] = array('title' => sprintf($txt['support_versions_db'], $smcFunc['db_title']), 'version' => '');</nowiki> | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Database Functions | [[Category:Database Functions]]</noinclude> | ||
Latest revision as of 16:43, 11 October 2012
Usage:
$smcFunc['db_title']
Description: Name of the database being used. Such as MySQL, PostgreSQL and SQlite. Shall not be called as a function, but used a string.
Return: A string with the name of the DBMS in use. It can return MySQL, PostgreSQL or SQlite.
Example:
$versions['db_server'] = array('title' => sprintf($txt['support_versions_db'], $smcFunc['db_title']), 'version' => '');