So, when writing php with embedded html content, it’s often easier to use heredoc syntax as follows: –



END; echo $string;

The advantage to writing it this way is that we don’t have to delimit the quotes (“) and we can just include php variables inline without having to drop to php via something like: –

>?echo $display2;<!--?php

The ‘END’ is a keyword that you can change to whatever you like, but it must be at the start of a line and it must have a semicolon (;) after it

Anyway, handy way to avoid clutter in the code