Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include won't use css file 2

Status
Not open for further replies.

Trip0d

Technical User
Sep 30, 2004
19
US
I am new to php (as if you couldn't tell by the question)...I am making a static html page with a menu. I want to include the navigation table (just a bunch of links in a table) so I don't have to change a bunch of pages when a page is added or deleted. I know the new line and escape for " and all that, it's actually working, even the first time!!! The only trouble is, I am using CSS and the css properties are not being carried into the code that is included. Everything else on the page is using the css file, and the part I am including now was using it before I made it an include. What am I doing wrong? YOu can see it at (Don't laugh, I am building the page structure right now)

Thanks for the help!

--RC
 
How are you including the file?
Your problem is that the doublequotes etc. are escaped.
try a stripslashes() on that include.
 
wow...ok!

what is a stripslashes() and where does it go?

Thanks..
--RC
 
Sweet!! It worked! Thanks man! I'm quite sure I'll have a lot more questions...but for giggles, what is a stripslashes() and how is it used? Or is there somewhere you could point me to find out?

Thanks a million, man!

--RC
 
Thanks! wow there is a lot of stuff on that manual...

--RC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top