Welcome Guest, Not a member yet? Register   Sign In
Special php operator doesn't work ?
#1

[eluser]CARP[/eluser]
Hi guys
I'm kinda used to insert some html code inside the <<< operator, but I've realized this operator doesn't work with CI

I have the following function inside a library

Code:
function start_editor($path) {
    $html_return = <<<END_OF_HTML
    [removed]
    [removed]
    [removed]
    [removed]
    END_OF_HTML;

    return $html_return;
}

but CI seems not to like this way... Is there an alternative?
Thanks,


Messages In This Thread
Special php operator doesn't work ? - by El Forum - 07-11-2008, 01:39 PM
Special php operator doesn't work ? - by El Forum - 07-11-2008, 01:56 PM
Special php operator doesn't work ? - by El Forum - 07-11-2008, 01:58 PM
Special php operator doesn't work ? - by El Forum - 07-11-2008, 02:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB