MySQL_fetch_array 和 MySQL_fetch_object 的区别是什么?

以下是 MySQL_fetch_array 和 MySQL_fetch_object 的区别:

MySQL_fetch_array() – 将结果行作为关联数组或来自数据库的常规数组返回。

MySQL_fetch_object – 从数据库返回结果行作为对象。

猜你喜欢

转载自www.cnblogs.com/programb/p/13020186.html