Hi ollmorris, the quick answer is yes.
<?php
// Assuming ...
$numrows = mysql_numrows($result);
// Then ...
for($i = 0; $i < $numrows; $i++){
$row = mysql_fetch_array($result);
// Do stuff with $row
}
?>
But using the while loop is the way you'd normally do it.
Paul.