Is there a way to move to the next record where stated in the PHP code?

PHP Code:
while ($myrow mysql_fetch_row($result)) {

echo(
"line 1");

// Move to next record

echo("line 2");


Thanks, ILMV