You can use Zend_Debug::dump($var) to inspect the array. It's a wrapper for var_dump(). Once you can see the array structure it should be easy to foreach the values to output table rows.
-- Hector Virgen Sent from my Droid X On Aug 2, 2010 6:06 AM, "tonystamp" <[email protected]> wrote: Hello I am using zend_service_livedocx and all is going well, but now i am having trouble rendering an array in the document. When i pass the array to the template, the document displays the value as "array". I have http://www.phplivedocx.org/articles/pdf-generation-with-zend-framework/ read this tutorial which mentions using tables but doesn't mention how to create the structure for the table in the template- inserting a mergefield inside a table cell did not work for me. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Creating-tables-in-template-using-livedocx-tp2308825p2308825.html Sent from the Zend Framework mailing list archive at Nabble.com.
