echo ''; echo 'dovid'; //count the rows and fields $totalRows = mysql_num_rows($result); $totalFields = mysql_num_fields($result); //start the loop for ( $i = 0; $i < $totalRows; ++$i ) { //make it 2 dim in case you change your order $results[$i] = mysql_fetch_array($result); //call data at will controlling the loop with the array echo $results[$i]['number']; echo $results[$i]['type']; echo '
';} //print the entire array to see what lives where //print_r($results);
NumberCarrierName