![]() |
print_r equivalent
Is there a vb template syntax equivalent to the PHP print_r method, which would allow me to display array contents?
I'm trying (and failing at the moment) to iterate through a multi-dimensional array and would like to see what vb is looking at compared to what I think it should be looking at... |
Well I think print_r is still the best...
I just place it before the template call... with pre... print "<pre>";print_r($arraytolookat);exit; |
<a href="https://vborg.vbsupport.ru/showthread.php?t=228078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=228078</a>
|
var_dump is the best one for that. Especially if you have xdebug extension installed. :)
Cheers |
All times are GMT. The time now is 02:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|