limiting the number of characters
Hi Jason
Is there a way to do this without using a recordset?
Ie, at the moment to limit the number of characters in a panel I am using a recordset:
<?php
include('WA_CMS/addtosite.php');
echo str_replace(array("<p>","</p>"),"",WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Events', 'Latest Event Content', false, $row_EventsRS['ContentPageSetOrder'],350));
?>
I have tried playing around with it like this (and a variety of permutations along these lines) but clearly with no luck
<?php echo str_replace(array("<p>","</p>"),"",WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Events', 'Latest Event Content'),55); ?>
Is it possible to do it this way and if so, how please?
Thanks
Jamie