Jump to content

Problems with include


tomfmason

Recommended Posts

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 with

username: test
password:qh9jf442

If you login you will see what I am talking about.
Any suggestions would be great.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.