PHP How to pass variables through a link to the next php file
<pre><code>echo "&lt;td&gt;" . 
    "&lt;a href='approve_mem.php?id=$row['member_id']'&gt;Approve&lt;/a&gt;" . " " . 
    '&lt;a href="disapprove_mem.php?id=$row[member_id]"&gt;Disapprove&lt;/a&gt;' .
"&lt;/td&gt;";
</code></pre>

<p>This is my code but the value of id does not get passed instead it gets passed like id=$row['member_id'] as it is, and when I echoed the id variable it got printed like $row['member_id']</p>
