Jump to content

table


rashmi_k28

Recommended Posts

<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

 

Link to comment
https://forums.phpfreaks.com/topic/128495-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.