I tried using BREAK tag, \n , strip_tags , preg_replace
BUT i don’t understand how to use it..
$echo .= ' <div id="chooseForm">
<div class="ads">
<input type="checkbox" name="blah1" value="blah1" '. isset($_POST['blah1']) ? "checked" : "") .'> <b>blah1 </b>
<input type="checkbox" name="blah2" value="blah2" '. (isset($_POST['blah2']) ? "checked" : "") .'> <b>blah2</b>';
I should get a 2 lines break for the 2 check boxes (thats what Iam trying for..)
Can anyone pls?
EDITED:
I was unable to use properly these 2 functions : strip_tags , preg_replace (I am not a php coder, so could anyone tell me how to write above code using these functions.. , so i guess then it gonna work..
You are assigning to a variable called $echo. Also echo this once you are done:
http://phpfiddle.org/main/code/gxz-94w
Perhaps you wish to render newline characters, in which case you should wrap your output in
<pre>tags.http://phpfiddle.org/main/code/e66-jq8