API17

Difference between revisions of "JDatabase::loadResult"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Method to get the first field of the first row of the result set from the database query.  
 
Method to get the first field of the first row of the result set from the database query.  
  
{{Description:JDatabase::loadResult}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JDatabase::loadResult|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function loadResult ()
 
public function loadResult ()
Line 29: Line 27:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JDatabase::loadResult source code''' on [[jplatform:database/database.php#cl-734|BitBucket]]
 
* {{JVer|11.1}} '''JDatabase::loadResult source code''' on [[jplatform:database/database.php#cl-734|BitBucket]]
* {{JVer|11.1}} Class [[JDatabase/11.1|JDatabase]]
+
* {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabase::loadResult|Other versions of JDatabase::loadResult]]
+
* [[API17:JDatabase::loadResult|Other versions of JDatabase::loadResult]]
{{SeeAlso:JDatabase::loadResult}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JDatabase::loadResult|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JDatabase::loadResult
 
category=JDatabase::loadResult
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 47: Line 43:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JDatabase]][[Category:JDatabase::loadResult]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:34, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabase::loadResult[edit]

Description[edit]

Method to get the first field of the first row of the result set from the database query.


public function loadResult ()
Parameter Type Default Description
  • Returns mixed The return value or null if the query failed.
  • Defined on line 742 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]