Difference between mysql_fetch_array and mysql_fetch_row?

前端 未结 10 1364
野的像风
野的像风 2020-12-02 08:36

This is a simple question for PHP users. The reason I couldn\'t get the the exact difference between mysql_fetch_array() and mysql_fetch_row() in P

10条回答
  •  一向
    一向 (楼主)
    2020-12-02 09:17

    Mysql_fetch_object returns the result from the database as objects while mysql_fetch_array returns result as an array. This will allow access to the data by the field names.

提交回复
热议问题