hi everyone, i've got quite similar with displaying user's information.
i've 2 form(K8 Form and K9 Form). To displaying user's information in K8 Form, i used the method with the way you guys taught me. and then after the user fill up the K8 Form, the K8 Form information will be displaying on K9 Form. and that is the problem.I used the same way to show the information but the information about K8 Form doesn't show up in the K9 Form. in K8 Form, the primary key is "k8goodsID".
here are the way i did :
$_SESSION['k8goodsID']=$tenantIdentifier;
"
"
"
$query_k8goodsin = "SELECT * FROM k8_goodsin WHERE k8goodsID='".$_SESSION['k8goodsID']."'";
$rs_k8goodsin = mysql_query($query_k8goodsin) or die ('Query failed:' . mysql_error() . "<br /><\n $query_k8goodsin");
$reck8goodsin = mysql_num_rows($rs_k8goodsin);
"
"
"
<table id="tblStore" width="491" border="1" cellpadding="4px" cellspacing="0" bordercolor="#000000" >
<br />
<thead>
<th width="6%" class="labelcell">No</th>
<th width="25%" class="labelcell">Goods</th>
<th width="17%" class="labelcell">Quantity</th>
<th width="18%" class="labelcell">Price per Unit</th>
<th width="19%" class="labelcell">Total</th>
<th width="13%" class="labelcell"></th>
</thead>
<tr>
<td class="labelcell"><?php echo $count; ?></td>
<td><?php echo $reck8goodsin['goodsDesc']; ?></td>
<td><?php echo $reck8goodsin['k8goodsQty']; ?></td>
<td><?php echo $reck8goodsin['valuePerUnit']; ?></td>
<td><?php echo $reck8goodsin['valueTotal']; ?></td>
<td><input name="" type="checkbox" value="" /></td>
</tr>
</table>
and for the checkbox, i want the user's can pick the goods and displaying the goods picked and submit it.
can someone help me..