Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1854

Joomla! 5.x Coding • Re: Query returning 0 rows, when there is a row

$
0
0
Per your own code comments, loadObjectList() returns an array of objects. It should be used for multi-column selects that return multiple rows. For single-column single-row queries like in your example you can use loadResult(). For multi-column single-row queries use loadObject() or loadAssoc().

Statistics: Posted by SharkyKZ — Mon May 20, 2024 7:48 pm



Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>