Hello community,
In the body of ChronoConnectivity I have the following code in php:
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
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
Ops, I found the solution in another thread:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=12&t=11152&p=13787&hilit=php+parse#p13787
Sorry for not searching properly before posting.
Rgds,
Jmauver
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=12&t=11152&p=13787&hilit=php+parse#p13787
Sorry for not searching properly before posting.
Rgds,
Jmauver
This topic is locked and no more replies can be posted.