title: PHP echo out jQuery in IF statement
body: <p>EDIT: What a TW*T. Sorry everyone for wasting your time. Just missed a Google jQuery link on one F'in page. Whoops.</p>
  
  <p>Hi, i have a div containing 3 forms. These should be the only thing on the screen on page load. When any of them are submitted, a graph gets shown below. What i'm trying to do is within the PHP IF statement is make the div disappear that contains the forms. Sound simple?</p>
  
  <p>This is my code:</p>
  
  <pre><code>if($_GET['submit1']){
  echo "&lt;script type='text/javascript'&gt;$('#options').css('display','none');&lt;/script&gt;";
  </code></pre>
  
  <p>However, when i do submit one of the forms (therefore a $_GET has occurred) the div is still there??</p>
  
  <p>EDIT:</p>
  
  <p>If i try people answer on one line i get this: </p>
  
  <pre><code>Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$'
  </code></pre>
  
  <p>But if i put in people's multiline answers, no error, but div still shows!</p>