You should really use a join query for this, so that the comment resultset has all the info available already in it, the way you are doing it is quite inefficient

neobeacon wrote:
I create a view helper to show comments for a article.(by getting article_id
from comments table and using foreach to get each comment).

But in comment table only has commentator's id.

I used a view helper to convert user_id to get the user name.

With in a view helper can I call another view helper?

How do I handle this  case?


Reply via email to