hi folks, can someone shed some light here? i've got a file called index.php with the following contents:
<?php echo "debug output: index.php loaded<br>"; if (is_null($page_name)) $page_name="about"; echo "debug: page name = $page_name<br>"; $nav_array = array ("about => About", "reservations => Reservations", "directions => Directions", "contact => Contact" ); $nav="lnav.inc.php"; $footer="foot.inc.php"; $pic = "$page_name" . "jpg"; $text= "$page_name" . ".txt"; ?> when i call the page, i get no visible output - this is the resulting page source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML> so where the heck are the html tags coming from??? the other weird thing is that a file with just <?php phpinfo(); ?> works fine! any ideas? cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php