API17:JDatabaseMySQL::query
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseMySQL::query== | =={{JVer|11.1}} JDatabaseMySQL::query== | ||
===Description=== | ===Description=== | ||
| − | Execute the | + | Execute the SQL statement. |
{{Description:JDatabaseMySQL::query}} | {{Description:JDatabaseMySQL::query}} | ||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::query|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDatabaseMySQL::query|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function query () |
</source> | </source> | ||
| − | = | + | {| class="wikitable" |
| − | mixed A database resource | + | |- |
| − | + | !Parameter | |
| − | libraries/joomla/database/database/mysql.php | + | !Type |
| − | + | !Default | |
| + | !Description | ||
| + | |- | ||
| + | | | ||
| + | | | ||
| + | | | ||
| + | | | ||
| + | |- | ||
| + | |} | ||
| + | * '''Returns''' mixed A database cursor resource on success, boolean false on failure. | ||
| + | * '''Defined''' on line 428 of libraries/joomla/database/database/mysql.php | ||
| + | * '''Since''' {{JVer|11.1 }} | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JDatabaseMySQL::query source code''' on [[jplatform:database/database/mysql.php#cl-420|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JDatabaseMySQL::query|Other versions of JDatabaseMySQL::query]] | ||
| + | {{SeeAlso:JDatabaseMySQL::query}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::query|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::query|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 32: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::query]]</noinclude> | <noinclude>[[Category:JDatabaseMySQL]][[Category:JDatabaseMySQL::query]]</noinclude> | ||
Revision as of 20:32, 27 April 2011
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.
JDatabaseMySQL::query
Description
Execute the SQL statement.
Description:JDatabaseMySQL::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 428 of libraries/joomla/database/database/mysql.php
- Since
See also
-
JDatabaseMySQL::query source code on BitBucket
-
Class JDatabaseMySQL
-
Subpackage Database
- Other versions of JDatabaseMySQL::query
SeeAlso:JDatabaseMySQL::query [Edit See Also]
User contributed notes
<CodeExamplesForm />
