If nothing is being output for a specific variable, maybe throw in a bit of debug code to test if it's empty:
if(!isset($varName) or trim($varName) === '') {
die('ERROR: $varName is empty.');
}
If that error pops up, then check (case-sensitive) variable spelling, look at the logic where it should get set, etc.