title: JS Prompt to PHP Variable
body: <p>Is this possible? Or do I really need to AJAX JS first?</p>
  
  <pre><code>&lt;?php
  echo'&lt; script type="text/javascript"&gt;var eadd=prompt("Please enter your email address");&lt; /script&gt;';
  $eadd = $_POST['eadd']; ?&gt;
  </code></pre>
  
  <p>and how can I do that with AJAX?</p>