Jump to content

String heredoc and complex syntax


JustinK101

Recommended Posts

Trying to use the string complex syntax but its annoying me and not working.  I am trying to call a function call, here is my code. Thanks for the help.

[code]
echo <<<ENDTEXT
<p>
<input type="submit" name="clock_in" value="{$lang_clock} {ucfirst({$CURRENT_CLOCK})}" class="clock" />
</p>
ENDTEXT;
[/code]
Link to comment
https://forums.phpfreaks.com/topic/22807-string-heredoc-and-complex-syntax/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.