Mark Row as important and keep it saved each time it loads
<p><img src="http://i.stack.imgur.com/M7gAm.png" alt="Table a"></p>

<p>This is TableA, when i click on Button "click here", every time particular table gets loaded using this code</p>

<pre><code>&lt;tr&gt;
    &lt;th style="height: 25px"&gt;NAME&lt;/th&gt;
    &lt;th style="height: 25px"&gt;EMAIL&lt;/th&gt;
    &lt;th style="height: 25px"&gt;CELL NO&lt;/th&gt;
    &lt;th style="height: 25px"&gt;CITY&lt;/th&gt;
    &lt;th style="height: 25px; width:120px"&gt;DATE APPLIED&lt;/th&gt;
    &lt;th style="height: 25px"&gt;POST A MESSAGE TO CANDIDATE&lt;/th&gt;
    &lt;th style="height: 25px"&gt;DETAILED CV&lt;/th&gt;
    &lt;th&gt;Hide Candidate&lt;/th&gt;
    &lt;th&gt;MARK AS IMPORTANT&lt;/th&gt;
&lt;/tr&gt;                                              
&lt;!-- /headings --&gt;
&lt;?php
if(isset($_GET['id'])) {
    echo "&lt;script&gt;window.location = \"#showcand\";&lt;/script&gt;";                                            
    if($result) {
        if (mysql_num_rows($result) == 0) {
            echo "&lt;tr&gt;";
            echo "&lt;td colspan=\"4\" &gt;&lt;p align=\"center\" class=\"message\"&gt;&lt;blink&gt;&lt;span style=\"color:red;\" &gt; NO CANDIDATE APPLIED&lt;/span&gt;&lt;/blink&gt;&lt;/p&gt;&lt;/td&gt;";    
            echo "&lt;/tr&gt;";
        }

        while($data_set1 = mysql_fetch_array($result)) {                                            
            echo "&lt;tr&gt;";
            echo "&lt;td&gt;{$data_set1['ename']}&lt;/td&gt;";
            echo "&lt;td&gt;{$data_set1['eemail']}&lt;/td&gt;";
            echo "&lt;td&gt;{$data_set1['ecell']}&lt;/td&gt;";
            echo "&lt;td&gt;{$data_set1['ecity']}&lt;/td&gt;";
            echo "&lt;td&gt;{$data_set1['date_of_jobapply']}&lt;/td&gt;";
            echo "&lt;td&gt;&lt;a href=\"reply.php?tid={$_SESSION['vid']}&amp;id=1&amp;name={$data_set1['ename']}&amp;email={$data_set1['eemail']} \"&gt;&lt;input class=\"button\" name=\"submit\" type=\"submit\" value=\"POST\" /&gt;&lt;/a&gt;&lt;/td&gt;";
            echo "&lt;td&gt;&lt;a href=\"detailcv.php?id={$data_set1['eid']}\" target=\"_blank\"&gt;&lt;input  style=\" cursor:hand;width:40px\" class=\"button\" name=\"cv\" type=\"button\" value=\"C V\" /&gt;&lt;/a&gt;&lt;/td&gt;";
            echo "&lt;td&gt;&lt;input type=\"checkbox\" name=\"hide_cand\" id=\"hide_cand\"onclick=\"return hideRow(this)\"/&gt;&lt;/td&gt;";
            echo "&lt;td&gt;&lt;input type=\"checkbox\" name=\"imp_cand\" id=\"hide_cand\"/&gt;&lt;/td&gt;";
            echo "&lt;/tr&gt;";
        }
    } ?&gt;
</code></pre>

<p>in last column i want to mark particular row as imp and not imp using check box, and everytime i load this table i should see imp marked row as it is, how it can be done..</p>
