JDatabaseMySQL::select: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JDatabaseMySQL::select/11.1 to API17:JDatabaseMySQL::select without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Select a database for use. | Select a database for use. | ||
<source lang="php"> | <source lang="php"> | ||
public function select ($database) | public function select ($database) | ||
| Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::select source code''' on [[jplatform:database/database/mysql.php#cl-495|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQL::select source code''' on [[jplatform:database/database/mysql.php#cl-495|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]] | * [[API17:JDatabaseMySQL::select|Other versions of JDatabaseMySQL::select]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::select | category=JDatabaseMySQL::select | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:39, 25 March 2017
JDatabaseMySQL::select
Description
Select a database for use.
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
User contributed notes
Code Examples