2014-07-23, 12:53 PM
I need to include a variable in a template
this is what i'm using
what it returns is this
but the correct form should be like this
WHat I'm doing wrong here?
this is what i'm using
find_replace_templatesets("postbit_inlinecheck", '#'.preg_quote('value=').'#',
$db->escape_string('value="{$postcounter}"'));
what it returns is this
value=\"{$postcounter}\"""
but the correct form should be like this
value="{$postcounter}"
WHat I'm doing wrong here?