I have two functions nl2br
and substr
which I would like to combine together, could someone please tell how I would achieve this:
<?php echo nl2br($row_rsMyrecordSet['text']); ?>
<?php echo substr($row_rsMyrecordSet['text'],0,10); ?>
I'm thinking something along the lines of:
<?php echo nl2br & substr($row_rsMyrecordSet['text'],0,10); ?>