I am having a problem with an external style sheet using PhP5.
If I put the link to the stylesheet in on the page everything works fine.
However, I am using a function files to store the functions that are used frequently throughout the site.
All function files are specified in an include statement.
When I run the page with the stylesheet link in the output_fns.php file the styesheet is not loading. The content works fine but none of the styles are loading. Can anyone help?
Here is my coding:
(index.php)
PHP Code:
<?php
include('rhs72_fns.php');
session_start();
do_html_header('RHS Class of 1972');
?>
Welcome to the forums. In future posts, please make use of the [php]...[/php] bbcode tags around your code snippets (which I added to your post here). As it's past my bedtime, I'll leave it to someone else to help you, else I'll see you tomorrow some time.
Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." ~ from Nation, by Terry Pratchett
"But the main reason that any programmer learning any new language thinks the new language is SO much better than the old one is because he’s a better programmer now!" ~ http://www.oreillynet.com/ruby/blog/...ck_to_p_1.html
missing opening PHP tag, although this might be a copy/pasta error when you pasted it into your question
There must be a good xkcd cartoon in there, somewhere.
(Now, back to your regularly scheduled discussion.)
Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." ~ from Nation, by Terry Pratchett
"But the main reason that any programmer learning any new language thinks the new language is SO much better than the old one is because he’s a better programmer now!" ~ http://www.oreillynet.com/ruby/blog/...ck_to_p_1.html
Bookmarks