Difference between PHP Arrays and possible output

自古美人都是妖i 提交于 2020-01-07 03:20:26

问题


Can someone please provide an explanation on the difference of the two PHP arrays below and how they are used with a possible output?

$final['a']['b'] = queryX($conn, $id, 'user');
$final['b'] = queryY($conn, $id, 'visitor');

Note that queryX and queryY are functions that contains SQL Queries and returns them as associative arrays.

来源:https://stackoverflow.com/questions/36235787/difference-between-php-arrays-and-possible-output

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!