how to debug |
[eluser]runrun[/eluser]
I have an array and i want to see their value how can show them ? And how can i echo the segments on the screen ?
[eluser]John_Betong[/eluser]
[quote author="runrun" date="1258831971"]I have an array and i want to see their value how can show them ? And how can i echo the segments on the screen ?[/quote] http://ellislab.com/forums/viewthread/135557/#669235
[eluser]tokyotech[/eluser]
Code: <?php
[eluser]Ben Edmunds[/eluser]
Most of the time print_r() will do what you need, like tokyotech explained. Fred() is nice for general purpose/mixed type debugging though and is a very helpful function. |
Welcome Guest, Not a member yet? Register Sign In |