The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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... |
#2
|
|||
|
|||
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; |
#3
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=228078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=228078</a>
|
#4
|
||||
|
||||
var_dump is the best one for that. Especially if you have xdebug extension installed.
Cheers |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|