大家好,我是锋哥。今天分享关于【MySQL_fetch_array 和 MySQL_fetch_object 的区别是什么?】面试题,希望对大家有帮助;

MySQL_fetch_array 和 MySQL_fetch_object 的区别是什么?
 
 以下是 MySQL_fetch_array 和 MySQL_fetch_object 的区别:  
 
 
 MySQL_fetch_array() – 将结果行作为关联数组或来自数据库的常规数组返回。  
 
 
 MySQL_fetch_object – 从数据库返回结果行作为对象。  
                

![[Redis][List]详细讲解](https://i-blog.csdnimg.cn/direct/2b32231c7dcc419f821fd5b3114708d6.png)
















