I am not sure how to put the table records in the array. I am using this.
$sql = "select * from IPaddress";
$getmembers = mysql_query($sql);
while (list($IPAddress) = mysql_fetch_row($getmembers))
{
//put in array
}
say there are 5 records, I want to put all these 5 records in an array starting at [1] to [5] so I do not confuse myself when retrieving
Hope someone can provide some guidance.
Thanks