Length of Parameter is Always 34
-
I’m using this plugin to get a value passed in the URL but getting the string in PHP like below but the string length is always 34 instead of the true length of the string data passed. Why is the string length always 34 even after I trim it?
<?php
$cn = ‘[display-get-param name=”country”]’;
echo $cn;
$cnTrimmed = trim($cn);echo strlen($cnTrimmed); // always returns 34
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Length of Parameter is Always 34’ is closed to new replies.