PHP specific question -
i've got a fragment, and put a php block around so that I can use a bit of PHP within the fragment layout.
within the fragment-text I put a simple phrase like add2cart.jpg
When I pass the phrase through php and look at the physical output of the phrase add2cart.jpg the actual output code replaces the fullstop with the html entitity for the full stop ie .
so I get something like add2cart.jpg
does anyone know the php function that I have to use to replace the . with the actual character - in this case the fullstop,
I've tried htmlentities($var) and html_entitity_decode($var) but no joy.
possibly a Norman type question
i've got a fragment, and put a php block around so that I can use a bit of PHP within the fragment layout.
within the fragment-text I put a simple phrase like add2cart.jpg
When I pass the phrase through php and look at the physical output of the phrase add2cart.jpg the actual output code replaces the fullstop with the html entitity for the full stop ie .
so I get something like add2cart.jpg
does anyone know the php function that I have to use to replace the . with the actual character - in this case the fullstop,
I've tried htmlentities($var) and html_entitity_decode($var) but no joy.
possibly a Norman type question
Comment