i want to show php values in href tag using echo statement
<pre><code>&lt;?php if($approve == 0)
        { echo '&lt;a href="?p=reject_data&amp;approve=reject_image&amp;mem_id=$mem_id&amp;img_id=$img_id"&gt;Pending&lt;/a&gt;';?&gt;
        &lt;?php }else if($approve == 2)
        { echo '&lt;a href="?p=reject_data&amp;approve=reject_image&amp;mem_id=$mem_id&amp;img_id=$img_id"&gt;Rejected&lt;/a&gt;';}?&gt;
&lt;/div&gt;
</code></pre>

<p>it is returning the same $img_id and $mem_id in browser. everything is fine but it is not working. please help. reply me soon.. thanks in regards..</p>
