⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

What is MYSQLI_ASSOC?

Imagine you have a list of fruit from a database in your hand. PHP allows you to access this data in two different ways, depending on how you set the "switch" in the fetch function.

EXAMPLE
RESULT
The result will be displayed here...

Why do we almost always use MYSQLI_ASSOC in practice?