mysqli_fetch_array()
returns an array for one record at a time so try iterating using while loop like:
while($rowfor = mysqli_fetch_array($resultfor))
{
echo $rowfor["yourColumnName"]."<br />";
}
mysqli_fetch_array()
will return false when there are no more rows in your resultSet.