strlen problem with {field}

jmauver 18 Mar, 2009
Hello community,

In the body of ChronoConnectivity I have the following code in php:

<?php
$f='{text_2}';
echo $f;
echo strlen($f);
?>


The variable $f gets {text_2} content and echos it as expected. However, the strlen function returns always 8, which is lenght of "{text_2}" as it was a string, not parsing its content. Anyone knows how to solve this ? I need to know the lenght of {text_2} inside the body loop.
Thanks for any comments.

Jmauver
This topic is locked and no more replies can be posted.