I am trying to add HTML to my php return response which is within an if/else statement, Basically it looks something like so(I have omitted the top portion) but the if part goes like so...
<?php
if ($c > 1200) {
Echo "The blab bla bla, bla blah blah blah" .$c;
}
?>
I want to have HTML in the response but I can't find an answer here which would help and relate things for me and my problem. Any help appreciated here, thanks. Oh and I have not figured out how to mark the answer 'answered' but I will do that, thanks.
simple
';` – Jay Blanchard Mar 29 '16 at 16:14tag before the echo statement and a closing
tag after the echo statement my ide is throwing an exception. If I place any HTML around the echo which is itself of course within the if block It spits an exception. – GreatScott Mar 29 '16 at 16:22' . $c . '
';` should work fine as long as you're on a web server. – Jay Blanchard Mar 29 '16 at 16:24' . 'Thanks again' . '
' . '' . $c . '
'; – GreatScott Mar 29 '16 at 17:31