PHP: Return, not print content (3 posts)

  1. Laughinglizard
    Posted 12 years ago #

    One thought is that it makes your template more code intensive and in order to build or customize your template, you would have to know code fairly well. Creating syntactically correct PHP, for the average user (even someone with a little knowledge of code) can be daunting.

  2. antifuse
    Posted 12 years ago #

    Agreed... the super nice thing about having the functions print stuff directly makes it MUCH easier for templating for the average user (ie having to just do <?php list_cats() ?> is less confusing than having to do <?php print list_cats()?>

  3. Anonymous
    Posted 12 years ago #

    A method to do it both ways would be nice. The current php-light set of functions but some documented functions for those who want to go further.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.