<?php if(isset($numPages_error_message)) {echo $numPages_error_message.'<br/>';} ?> PHP: Maybe I've been working too long. If $numPages_error_message is not set, why would php still process the line break at the end of the echo statement? The line break is processed whether it is set or not. What am I missing?
Never mind. I figured it out. I had $numPages_error_message = ''; in an included file. I changed the code to: <?php if(!empty($numPages_error_message)) {echo $numPages_error_message.'<br/>';} ?> PHP: and now it works the way I intended.