Welcome Guest, Not a member yet? Register   Sign In
parser class not parsing
#1

[eluser]jepotski[/eluser]
Iam using the parser library , the problem is its not parsing my data, instead it displays it as is:

Iam using this tag
Code:
{Text}

and parse it using:
Code:
$this->parser->parse('MyView',array('Text' => 'Sample text'));

FYI, I have autoloaded the parser library in my config.
#2

[eluser]InsiteFX[/eluser]
Code:
$data = array(
            'Text' => 'Sample text'
            );

$this->parser->parse('MyView', $data);

InsiteFX
#3

[eluser]portgaz[/eluser]
[quote author="jepotski" date="1286535954"]Iam using the parser library , the problem is its not parsing my data, instead it displays it as is:

Iam using this tag
Code:
{Text}

and parse it using:
Code:
$this->parser->parse('MyView',array('Text' => 'Sample text'));

FYI, I have autoloaded the parser library in my config.[/quote]

i tried it but it works fine.. Smile




Theme © iAndrew 2016 - Forum software by © MyBB