Hooch Posted January 24, 2008 Share Posted January 24, 2008 This one is for the books. I have made an admin section thas has many links on it. Of course one is a link back to the home page. This linkseems to be going back to that page, but it is blank. Here's the output.. <!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> When I cut that same address from the addressbar and paste it to a new browserthe page shows up. So I tried making a test page with a link to the home page. Same problem exists. The problem exists from every page I made. Linking to the home page brings up a blank page. FYI linking to other pages is fine. Thank you for any help. Link to comment Share on other sites More sharing options...
Hooch Posted January 24, 2008 Author Share Posted January 24, 2008 **EDIT I just tried linking to index2.php and it's blank too Link to comment Share on other sites More sharing options...
Synook Posted January 24, 2008 Share Posted January 24, 2008 What is the PHP code for the homepage? Link to comment Share on other sites More sharing options...
Hooch Posted January 25, 2008 Author Share Posted January 25, 2008 Here's index.phpI edited out most of the code in the table. <?PHPsession_start(); include 'includes/referrals2.php';include 'includes/hits.php'; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Inspirations Art Gallery</title><link href="includes/style.css" rel="stylesheet" type="text/css" media="screen" /></head><body><table width="770" border="0" align="center" cellpadding="0" cellspacing="0" background="" bgcolor="A7A7A7" class="no-repeat"> <tr align="center"> <td height="109" align="left" valign="top"> </td> </tr></table></body></html> Link to comment Share on other sites More sharing options...
Hooch Posted January 25, 2008 Author Share Posted January 25, 2008 It was my referrals2.phpI had an if statement with an exit() in the code.Woo hoo..back in business. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.