yeah, include in that case would probably be the best way to do it.
header is used for actually sending the user to a different page altogether.
things like this are common when needed
if ($somecondition) {
include 'thisfile.php';
} else {
include 'thatfile.php';
}