ok i will tell u the problem
$num=array("1",2"","3","4");
for($i=0;$i<count($num);$i++){
<input type="check box" name="number" value=$num[$i] />
}
<input type=submit >
so i will give me
1
2
3
4
and i want when i check 2 and 4
and click submit
it returns te value of 2+4
so i want to apply this in the data come from database
get it??