1

How does mysql_fetch_array work?

Is it a stack/queue?

0

1 Answer 1

3

It fetches the current row from the open cursor and hydrates it into an array using one or both of two methods:

  • MYSQL_ASSOC - column names as array key
  • MYSQL_NUM - column position as array index

See http://en.wikipedia.org/wiki/Cursor_(databases)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.