JDatabaseMySQLi::select: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Select a database for use. | Select a database for use. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function select ($database) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 22: | Line 17: | ||
|- | |- | ||
|$database | |$database | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' bool True if the database was successfully selected. | |||
* '''Defined''' on line 525 of libraries/joomla/database/database/mysqli.php | |||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/database/database/mysqli.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQLi::select source code''' on [[jplatform:database/database/mysqli.php#cl-517|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDatabaseMySQLi|JDatabaseMySQLi]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |||
* | * [[API17:JDatabaseMySQLi::select|Other versions of JDatabaseMySQLi::select]] | ||
* [[JDatabaseMySQLi::select|Other versions of | |||
===Examples=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQLi::select | category=JDatabaseMySQLi::select | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:41, 25 March 2017
JDatabaseMySQLi::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 525 of libraries/joomla/database/database/mysqli.php
- Since

See also
JDatabaseMySQLi::select source code on BitBucket
Class JDatabaseMySQLi
Subpackage Database- Other versions of JDatabaseMySQLi::select
User contributed notes
Code Examples