Actions

API17

Difference between revisions of "JDatabaseMySQLi::query"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JDatabaseMySQLi::query==
 
=={{JVer|11.1}} JDatabaseMySQLi::query==
 
===Description===
 
===Description===
Execute the query.  
+
Execute the SQL statement.  
  
 
{{Description:JDatabaseMySQLi::query}}
 
{{Description:JDatabaseMySQLi::query}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::query|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQLi::query|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabaseMySQLi->query ()
+
public function query ()
 
</source>
 
</source>
===Returns===
+
{| class="wikitable"
mixed A database resource if successful, FALSE if not.
+
|-
===Defined in===
+
!Parameter
libraries/joomla/database/database/mysqli.php
+
!Type
===Referenced by===
+
!Default
 +
!Description
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|}
 +
* '''Returns''' mixed A database cursor resource on success, boolean false on failure.
 +
* '''Defined''' on line 450 of libraries/joomla/database/database/mysqli.php
 +
* '''Since''' {{JVer|11.1 }}
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabaseMySQLi::query source code''' on [[jplatform:database/database/mysqli.php#cl-442|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JDatabaseMySQLi::query|Other versions of JDatabaseMySQLi::query]]
 +
{{SeeAlso:JDatabaseMySQLi::query}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::query|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQLi::query|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabaseMySQLi/11.1|JDatabaseMySQLi]]
+
===User contributed notes===
* [[JDatabaseMySQLi::query|Other versions of this method]]
+
{{SeeAlso:JDatabaseMySQLi::query}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 32: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::query]]</noinclude>
 
<noinclude>[[Category:JDatabaseMySQLi]][[Category:JDatabaseMySQLi::query]]</noinclude>

Revision as of 20:33, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabaseMySQLi::query

Description

Execute the SQL statement.

Description:JDatabaseMySQLi::query [Edit Descripton]

public function query ()
Parameter Type Default Description
  • Returns mixed A database cursor resource on success, boolean false on failure.
  • Defined on line 450 of libraries/joomla/database/database/mysqli.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabaseMySQLi::query [Edit See Also]

User contributed notes

<CodeExamplesForm />