yshua Posted August 10, 2012 Share Posted August 10, 2012 Hello, again: Have been working on code for the last two weeks, and have some lingering problems: Most frustrating is some of the following form.php code, where the header, and later similarly coded footer fails to appear. Am now wondering if my include function is somehow inop?? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>My Page Url</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <link rel="stylesheet" href="style/style.css" type="text/css"> <script language="JavaScript"> </script> <script language="JavaScript" src="includes/validation.js"> </script> <body> <table align="center"><tr><td> <table width="843" height="503" align="center" bgcolor="#F7F7F7"> <tr> <td width="835" height="42"><? include "includes/header.php"; ?></td> </tr> <tr> <td height="453" valign="center"><table width="799" height="385" align="center"><tr><td height="379" valign="top"><h2 align="center"><strong>Please fill in the following information to get started<br> <br> </strong></h2> <p> <form name="debt" method="post" action="insert.php"> Sure could use some clues, or guesses about now, Yshua Quote Link to comment https://forums.phpfreaks.com/topic/266890-header-unable-to-appear-on-previously-working-webserver/ Share on other sites More sharing options...
trq Posted August 10, 2012 Share Posted August 10, 2012 What does this have to do with installing PHP on Windows? Quote Link to comment https://forums.phpfreaks.com/topic/266890-header-unable-to-appear-on-previously-working-webserver/#findComment-1368274 Share on other sites More sharing options...
yshua Posted August 10, 2012 Author Share Posted August 10, 2012 Right on, Thorpe: Have been doing so much installing and uninstalling PHP5.3.8 that this is quite a relief that I may finally at the post installing stage. I just couldn't tell objectively till you pointed this out! So could one moderator be so kind as to move this question to maybe, PHP Applications Forum, better? Sincerely, Yshua Quote Link to comment https://forums.phpfreaks.com/topic/266890-header-unable-to-appear-on-previously-working-webserver/#findComment-1368284 Share on other sites More sharing options...
Christian F. Posted August 10, 2012 Share Posted August 10, 2012 Please use the [code][/code] tags around the code, as it helps the readability for both the code and the post in general. Also, don't use short tags <?, as they are most likely turned off at the host. Use the full <?php tag instead. We recommend turning on all error reporting as well, to ensure that you aren't missing any errors due to the messages being suppressed. Quote Link to comment https://forums.phpfreaks.com/topic/266890-header-unable-to-appear-on-previously-working-webserver/#findComment-1368345 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.