A big thanks to Petko and Peter B who got me heading in the right direction.<div>I've documented this at</div><div><a href="http://www.pmwiki.org/wiki/Cookbook/RunCGI">http://www.pmwiki.org/wiki/Cookbook/RunCGI</a></div>
<div><br></div><div>I hope it helps someone else</div><div><br></div><div>Simon</div><div><br><br><div class="gmail_quote">On 7 September 2012 19:48, Petko Yotov <span dir="ltr"><<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Petko Yotov writes:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  $retval .= 'c' . $output;<br>
</blockquote>
<br></div><div class="im">
For testing purposes, in order to see the array values rather than 'Array', try<br>
<br>
  return pre_r($retval);<br>
</div></blockquote>
<br>
This was incorrect, sorry. You can use the pre_r() function on all $output variables above, not on $retval:<br>
<br>
 $retval .= 'c' . pre_r($output);<div class="HOEnZb"><div class="h5"><br>
<br>
Petko<br>
<br>
<br>
______________________________<u></u>_________________<br>
pmwiki-devel mailing list<br>
<a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>