tomfmason Posted July 5, 2006 Share Posted July 5, 2006 In my login script, if the login is sucessful I include account.php. That works fine but the page is not in the correct layout. It is as if the style sheet is not included. Here is alink to the site[url=http://www.owpt.biz/home/index.php]http://www.owpt.biz/home/index.php[/url]you can log in withusername: testpassword:qh9jf442If you login you will see what I am talking about. Any suggestions would be great. Quote Link to comment https://forums.phpfreaks.com/topic/13732-problems-with-include/ Share on other sites More sharing options...
Orio Posted July 5, 2006 Share Posted July 5, 2006 You need to change this line:<link rel="stylesheet" href="main.css" type="text/css">to:<link rel="stylesheet" href="../main.css" type="text/css">(or <link rel="stylesheet" href="../../main.css" type="text/css">)Because there's no such file as main.css in the includes folder.Orio. Quote Link to comment https://forums.phpfreaks.com/topic/13732-problems-with-include/#findComment-53300 Share on other sites More sharing options...
tomfmason Posted July 5, 2006 Author Share Posted July 5, 2006 lol thanks Quote Link to comment https://forums.phpfreaks.com/topic/13732-problems-with-include/#findComment-53306 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.