I use in project such functions:
include ("blocks/myCompanyCommentsListBlock.php");
I need somethig like this:
$str = sprintf("<div>%s</div>", include ("blocks/myCompanyCommentsListBlock.php"));
How this can be done? :) Any links would be useful :)
returnfrom a file.echo '<div>'; include 'inc.php'; echo '</div>';?