pass jQuery value to php
<p>for example, i have got this value in my php file:</p>

<pre><code>&lt;script type="text/javascript"&gt;
function altcat(id) {
        $ogzu = id;
    }
&lt;/script&gt;
</code></pre>

<p>i want to use $ogzu value in php. is it possible? can i pass a value to php from jquery? i need to learn this answer.</p>

<p>can anyone help me please?
thanks and regards</p>

<h2>edit:</h2>

<p>thanks for your kindly replies. i wanted to use $ogzu value in php like that:</p>

<pre><code>&lt;?php
echo "&lt;a href='".$ogzu."'&gt;test link&lt;/a&gt;";
?&gt;
</code></pre>

<p>well, i know its wrong. its already not working. i want to learn if we are able to use jquery values in php? thanks again friends. regards</p>
