coding problem HTML format in php variable

2 replies
How to I place HTML code (basic code) into a php variable I have various methods in cluding

<<<EOD
<div>SOME HTML</div>
EOD;

but no luck it just types out the tags

It is for a email form auto response
I have googled it but cant find anything that works

My varibale is
$link = '<a href="#">click here</a>';
#coding #format #html #php #problem #variable

Trending Topics