Wednesday 13 October 2010 1:06:10 pm
I am trying to call a php method from a template in order to query the database and return an array. The parameter I pass is the ID of a ContentObject and I query for a set that is external to the ezpublish data. My problem is that the ID I pass gets truncated to the first digit. Also, if i return a count of my result set, that number also gets truncated back in the template. Why is this happening? How do I fix it? Finally, how do I return the array of records back into the template to print them out with a foreach loop? Thank you Mike
MikeM
|