It is problem in you, not the code...
CSS NOT VISIBLE:
http://www.templebnaiisrae
CSS VISIBLE:
http://www.templebnaiisrae
Just don't put extra slash in your browser bar, ok :D
Main Topics
Browse All TopicsThis PHP is all new to me. I'm trying to use PHP includes to pull text in. I tried it once from an existing page and it worked fine. I tried it and made a new page, as a test, and this one is not pulling in the CSS. Here are links to the pages:
Existing old page:
http://www.templebnaiisrae
This is the php line on the above page:
<?php require("sisterhood.php");
This works. This is the include file:
http://www.templebnaiisrae
Now, this one doesn't work. First, here is the newly designed main page I am testing:
http://www.templebnaiisrae
The new page is under Home -> What's new
It doesn't see the css:
http://www.templebnaiisrae
This is the php line on this page:
<?php require("new_update.php");
This is the include file:
http://www.templebnaiisrae
I just don't get what's different. Appreciate your help!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It is problem in you, not the code...
CSS NOT VISIBLE:
http://www.templebnaiisrae
CSS VISIBLE:
http://www.templebnaiisrae
Just don't put extra slash in your browser bar, ok :D
Rok-Kralj:
That's not true. You are doing it automatically :D
I checked HTML source code and the slash is there :)
I am NOT doing it. What you see is coming from the server. This is my markup (with the preceding slash lol) :
<div id="main">
<!-- begin main content -->
<p>
<?php require("./new_update.php"
</p>
<!-- end main content -->
</div>
This menu:
http://www.templebnaiisrae
If you go under Home > What's new
you have pretty nice slash at the end of <a href="" attribute
Business Accounts
Answer for Membership
by: AielloJPosted on 2008-10-18 at 10:33:06ID: 22749020
Try putting a './' in front of your include filenames. Use './' assuming they're in the same folder as the pages including them. Sometime the search path in the configuration of whatever is serving your page (IIS or Apache) can cause some funny interactions. For example, change:
?> ); ?>
<?php require("sisterhood.php");
to
<?php require("./sisterhood.php"