note
Thomas Kennll
Tux,
<code>
while (my ($ans_rid, $ans_qcn, $ans_loc) = $sth->fetchrow_array ()) {
my ($ansb_cktid, $ansb_mcn, $ansb_soc) = unpack "A3 A3 A3", $ans_l
+oc;
</code>
This unpacks only the 3rd column ie, $ans_loc... I wanted to unpack all the 3 columns..ie, $ans_rid, $ans_qcn, $ans_loc and have the values stored in $ansb_cktid, $ansb_mcn, $ansb_soc..
1013380
1013398