Is it possible to use javascript popup to accept input in php
<p>Is it possible to use javascript popup to accept input in PHP</p>

<pre><code>&lt;script type="text/javascript"&gt;
&lt;!--

function popup(){
var answer = prompt ("What is your name ?","")

    return answer
}
// --&gt;
&lt;/script&gt;

&lt;?php 

$value = echo "popup()"; // error

?&gt;
</code></pre>
