hello
this my code :
<?php
$con=mysql_connect("localhost","root","");
if(!$con)
{
die('can not connect'.mysql_error());
}
mysql_select_db("test", $con );
$others="others";
$sql="SELECT * FROM $others";
$result=mysql_query($sql);
$num = mysql_num_rows($result);
echo"<thead>
<tr> <th>#</th> <th> id </th> <th>topic</th></thead>";
echo"<tbody>";
$i=0;
echo"
<
table border='1' width='100%' id='table1'>";
echo"<thead>
<tr> <th>#</th> <th> id </th> <th>topic</th></thead>";
echo"<tbody>";
$i=0;
while( $i < $num ) {
$id = mysql_result( $result , $i , "id" );
$topic = mysql_result( $result , $i , "topic" );
echo"<tr>";
?>
<?php echo"$id "; echo"$topic ";
echo""; ++$i; } echo""; echo""; ?>
<?php mysql_close($con); ?>
-------
i want if user selected checkbox then choose save ,, insert information(id and topic from "other table" to other_2 table"
please help me ,,
how can do that :(