title: how to pass php value as parameter in anchor tag href
body: <p>I want to pass php value as parameter in anchor hreh.Here i have the problem while fetching the 'c_id'.c_id is the primary key.
    Here I attached my html code and php code</p>
  
  <pre><code>&lt;?php
            include "config.php";
            $sql="select c_name from client order by c_name asc limit 10";
            $sql1=mysql_query($sql);
            echo "&lt;table border='1' align=center width=500 style='border-collapse: collapse;'&gt;";
             echo "&lt;tr height =10&gt;&lt;td width=300 align=center&gt;&lt;b&gt;Client name&lt;/b&gt;&lt;/td&gt;&lt;td colspan=2 align=center&gt;&lt;b&gt;Action&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;";
            while($fet=mysql_fetch_assoc($sql1))
            {
             $id=$fet['c_id'];
             echo "&lt;tr&gt;";
             echo "&lt;td align=center width=100&gt;".$fet["c_name"]."&lt;/td&gt;";
             echo "&lt;td align=center width=100&gt;&lt;a href='client_details.php?id=".echo $id."'&gt;Edit&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=''&gt;Delete&lt;/a&gt;&lt;/td&gt;";
             echo "&lt;/tr&gt;";  
             echo "&lt;/table&gt;&lt;br&gt;";
            }
          ?&gt;  
  </code></pre>