Don't forget that using mysql_fetch_array() produces an associative array.
There are 2 ways of extracting data from it:
$kontroll = $row[0];
or
$kontroll = $row[KONTROLL];
Both return the same information.
If you are in the habit of always using the $row[0] method, you would probably be better of using mysql_fetch_row() since a numerically indexed array is created with 1 index per data item, strictly memory usage speaking.
mysql_fetch_array() creates an associative array with duplicated data, which COULD double the size of the array.
mysql_fetch_row( $result ) creates:
$row = array( "some data" );
"some data" is available as $row[0];
mysql_fetch_array( $result ) creates:
$row = array( 0 => "some data", "KONTROLL" => "some data" );
"some data" is available as $row[0] AND $row[KONTROLL].
-Rich