Hi,
I'm not shure how to add stuff to an array, as you can see after every loop, result is supposed to be added to the array in position $i. But whne i run the script the array only seems to have the last 'input'. IE. After the loop runs three times the array has value 5 for position [2], which is totaly correct, the thing is it should also have values for position [0], [1]. Help would be apreaciated.
Thanx so much!
$getbottom = "select (mem_id) from member_m where mem_under = '0' ";
for($i=0; $i < $num_bottom; $i++){
$result = mysql_result(mysql_query($getbottom), $i , 0) ;
$result1 = array_fill($i, 1, $result);
}