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

Thank-you for your reply!

Yes, I understand that it's query handling system was designed to allow multiple Database systems to operate with it. My point, though, was that there's no way to perform simple operations like could in each alone - As far as I know, each SQL-type database has a simple function for extracting query results to an easy to use array.

I've tried your above example - Though I simply couldn't make any sense out of it. For instance (With slight edits to fit what I'm currently working with):

Does nothing - It gives me nothing to work with, it gives no output - What am I supposed to do from there?

Assume my database table looks like this:

...And I wanted to

Then, from there, I'd want to do something with each value - Such as loop through and echo them, or use them for comparison later. In the end, I want some way to get at least 5 of them into variable form for later use.

How would I do that, specifically? With just MySQL and PHP alone, such a task is simple and well explained. Here, no so much.