title: Execute PHP code based on Javascript conditional
body: <p>I'm not sure if what I wanna do will make any sense to you but here you go.
  I'm trying to execute  into if / else. Here is an example of what I wanna do.</p>
  
  <pre><code>&lt;?php
  if //Here I would like to execute &lt;script&gt;&lt;/script&gt; 
  {
  // Then here execute some php code
  }
  else
  {
  //do nothing
  }
  ?&gt;
  </code></pre>
  
  <p>I don't know if such thing is possible.</p>