In php, you got to echo each and every line of html, is there a way to specify the end tag: ?> in a if statement?
ex:
if ($_GET['id'] == 1)
{
?><html><body><strong>HELLO WORLD</body></html><?php
//continue executing code
}
is that even possible? I really hope it is, as it is really annoying to echo each and every line of code.
Also, could someone think of a better title? If someone has the same problem as me I would love for him/her to find the solution.