Thread:Project:Support desk/Mediawiki equivalent to mysql/mysqli fetch array?/reply

Hello!

I haven't take a look at what you try to get from database, so i trust you, that the db request is correct :D Why you don't use this, instead of array in where clause (you have only one condition): With $rese you can do everything you want, it is still an array (no, false, it's a result wrapper), so you can use foreach to go throw all rows:

For more information, please see: https://www.mediawiki.org/wiki/Manual:Database_access

(p.s.: the db access layer is useful and needed for mediawiki and extensions. So your extension works with MySQL, PostgreSQL and SQLite out of the box with the same code, no need to write sql statements for each database management system ;))