title: multiple statements on if statement without curly braces
body: <p>I am using an onclick function in my html (so not a method, but the javascript code itself in the html button onclick event).</p>
  
  <p>How do I add 2 statements in the 1 line after an IF statement, that is not surrounded by curly braces.</p>
  
  <p>I want to do something like this</p>
  
  <pre><code>onclick="javascript: if ( days.value == '' ) alert('Please select at least 1 day to schedule this report') &amp;&amp; return false;" 
  </code></pre>
  
  <p>I can't use the curly braces to enclose the two statements because I can't find any information on outputting a curly brace into a string in PHP (If i do, the output stops after the first curly brace)</p>
  
  <p>My PHP looks like this:</p>
  
  <pre><code>$content["PREPEND"].= " onclick=\"javascript: if ( days.value == '' ) alert('Please select at least 1 day to schedule this report') &amp;&amp; return false; \"";
  </code></pre>
  
  <p>I tried using the &amp;&amp;, but that doesnt work. Any advise appreciated!</p>