Jump to content

[SOLVED] echo <<< problem


2tonejoe

Recommended Posts

I am trying to echo variables plus text and it isn't working when the text is an underscore . . .

$accountid = $row->accountID;

echo <<<END
<p class="account">$accountid_standard</p>
END;

 

The string is "_standard", but it doesn't print . . .? how can I ensure that the underscore isn't being read as a variable?

Link to comment
https://forums.phpfreaks.com/topic/118006-solved-echo-ltltlt-problem/
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.