I put the loop at the top of the next page, before any output to the browser: <?php .................... if ($skill!='' && $skys[$key]!='' && $slus[$key] !='') { // row is valid -- do stuff } else { header("Location: http://www.2soon2show.com/TestMulti4a.php" ); print "You have errors"; } } ?> Before I added the redirect the print worked (and yes it doesn't belong in that part of the loop) Now the redirect is working , but the print isn't. Do I do an exit first, then the redirect and print ? Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php