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

Joomla! 5.x Coding • Re: select query with loadAssoc not returning array

$
0
0
Have you managed to get this to work yet?

If not, I suggest that first you see if the query returns results without using "bind" to ckech the syntax and that data is actually present. If it does you will know the problem is getting the stored procedure to work.

Personally, I see nothing wrong with continuing to pass the SQL as as parameter directly, but for safety ensure :
$userId = (INT) $user->get('id');
and possibly check it is nonzero.

Statistics: Posted by CharlieBigley — Sat Aug 17, 2024 9:36 am



Viewing all articles
Browse latest Browse all 1700

Trending Articles





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