db_select_db From Online Manual

Revision as of 16:42, 11 October 2012 by AngelinaBelle (talk | contribs) (refresh SMW properties)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage:

$smcFunc['db_select_db'] (database_name, connection)


Description: In MySQL the function selects a database like the function mysql_select_db. In PostgreSQL returns always true since the database is selected upon creating the connection. In SQlite will do nothing as there is only one database per file.

Parameters:

  • database_name The name of the database you want to switch to.
  • connection

Return: Like mysql_select_db returns true on success, false on failure.



Advertisement: