how to display array items whthout knwoing its number?
How to display an array content without using a while loop? coz I don't know how items a开发者_如何学Cre within, and without using the function print_r() that displays items with a specific way: array([0]=>..) I want to display items one by one, exemple: PHP - Ajax - JSON - DOM, u got it? How to achieve that guys?
foreach($array as $value){...}
See the manual
精彩评论