JDatabaseMySQL::select: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Select a database for use. | Select a database for use. | ||
{{Description:JDatabaseMySQL::select}} | {{subst:Description:JDatabaseMySQL::select}} | ||
<source lang="php"> | <source lang="php"> | ||
public function select ($database) | public function select ($database) | ||
| Line 32: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[API17:JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]] | * [[API17:JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]] | ||
{{SeeAlso:JDatabaseMySQL::select}} | {{subst:SeeAlso:JDatabaseMySQL::select}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:04, 24 March 2017
JDatabaseMySQL::select
Description
Select a database for use.
{{subst:Description:JDatabaseMySQL::select}}
public function select ($database)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $database |
- Returns bool True if the database was successfully selected.
- Defined on line 503 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::select source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::select
{{subst:SeeAlso:JDatabaseMySQL::select}}
User contributed notes
<CodeExamplesForm />