[CODE]
<form name=”myform” action=”<?php $_SERVER[‘PHP_SELF’]?>” method=”post” id=”id_of_the_form”>
<input type=”checkbox” name=”check_list[]” value=”bw”>bw</font>
<input type=”checkbox” name=”check_list[]” value=”cpu”>Cpu
<input type=”checkbox” name=”check_list[]” value=”rj”>RJ
<input type=”checkbox” name=”check_list[]” value=”mem”>MU
<input type=”checkbox” name=”check_list[]” value=”cnt”>CA
<input name=”submit_plot” value=”Plot” type=”submit”>
$checklist=$_POST[‘check_list’];
<table border=”1″ cellspacing=”3″ cellpadding=”5″ BORDERCOLOR=”#660033″>
<tbody><tr height=”25″ bgcolor=”#DCC58F”>
<?
foreach($col_head as $ch){
echo “<td>”;
echo $ch;
echo “</td>”;
}
echo “</tr>”;
How to print the table by passing the value in ajax