Welcome Guest, Not a member yet? Register   Sign In
Simple way of dumping rows to view?
#3

[eluser]codeshadow[/eluser]
Hey there,

The simplest way that I can think of is using
Quote:print_r()
(I don't know any helper either %-P ). However, you will still have to use the for construct. But would be as simple as this,

Quote:for($i=0;$i<sizeof($arr);$i++)
print_r($arr[$i]);

print_r($arr) will simply dump your array on the screen.


Messages In This Thread
Simple way of dumping rows to view? - by El Forum - 02-22-2010, 06:56 AM
Simple way of dumping rows to view? - by El Forum - 02-22-2010, 07:09 AM
Simple way of dumping rows to view? - by El Forum - 02-22-2010, 10:58 AM
Simple way of dumping rows to view? - by El Forum - 02-22-2010, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB