API17

JDatabaseMySQLi::select: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JDatabaseMySQLi::select}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::select|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Since===
{{JVer|11.1 }}
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabaseMySQLi::select ($database)
public function select ($database)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 22: Line 17:
|-
|-
|$database
|$database
|string
|
|
|
|
|
|-
|-
|}
|}
===Returns===
* '''Returns''' bool True if the database was successfully selected.
boolean True if the database has been successfully selected
* '''Defined''' on line 525 of libraries/joomla/database/database/mysqli.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database/mysqli.php (line 149)
* see source code in [[jplatform:database/database/mysqli.php#cl-149|BitBucket]]
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabaseMySQLi::select source code''' on [[jplatform:database/database/mysqli.php#cl-517|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::select|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabaseMySQLi|JDatabaseMySQLi]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
* [[API17:JDatabaseMySQLi::select|Other versions of JDatabaseMySQLi::select]]
* [[JDatabaseMySQLi::select|Other versions of this method]]
 
{{SeeAlso:JDatabaseMySQLi::select}}
 
===Examples===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabaseMySQLi::select
category=JDatabaseMySQLi::select
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::select]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:41, 25 March 2017

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples