JDatabaseMySQL::loadResult: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
This method loads the first field of the first row returned by the query. | This method loads the first field of the first row returned by the query. | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JDatabaseMySQL::loadResult () | ||
</source> | </source> | ||
===Returns=== | ===Returns=== | ||
mixed The value returned in the query or null if the query failed. | mixed The value returned in the query or null if the query failed. | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/database/database/mysql.php | libraries/joomla/database/database/mysql.php (line 363) | ||
* see source code in [[jplatform:database/database/mysql.php#cl-363|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
* [[API17:JDatabaseMySQL|JDatabaseMySQL]] | |||
* [[API17:JDatabaseMySQL::loadResult|Other versions of this method]] | |||
* [[JDatabaseMySQL::loadResult|Other versions of this method]] | |||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::loadResult | category=JDatabaseMySQL::loadResult | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:38, 25 March 2017
JDatabaseMySQL::loadResult
Description
This method loads the first field of the first row returned by the query.
Synopsis
public JDatabaseMySQL::loadResult ()
Returns
mixed The value returned in the query or null if the query failed.
Defined in
libraries/joomla/database/database/mysql.php (line 363)
- see source code in BitBucket
Referenced by
See also
Examples
Code Examples