how can I put multiple functions into one parent function,
for example, if on my out put I normaly have:
<?= nl2br(ucfirst(striptags($sometext))) ?>
how can I define all those at the beginning of the page so I would only have to put something like:
<? textformat($sometext) ?>
for example, if on my out put I normaly have:
<?= nl2br(ucfirst(striptags($sometext))) ?>
how can I define all those at the beginning of the page so I would only have to put something like:
<? textformat($sometext) ?>