[ad_1]
Use single quotes for raw HTML and curly braces around PHP variables. Like so;
$content = "<meta property='foo' url="{$url}" name="{$name}">";
3
[ad_2]
solved Concatenate HTML string and variable in PHP [closed]
[ad_1]
Use single quotes for raw HTML and curly braces around PHP variables. Like so;
$content = "<meta property='foo' url="{$url}" name="{$name}">";
3
[ad_2]
solved Concatenate HTML string and variable in PHP [closed]