Unable to properly view header.php
My directory structure is like t开发者_运维百科his
- index.php ,
- images ,
- style,
- menu ,
- header.php ,
- pets
- petsindex.php
When i include header.php for index.php it works but for petsindex.php it is working but stylesheet doesnot work and also images used in header.php don't work
because it's searching stylesheet files in pets/css.css
Try to change
path_to_css.css
to
/path_to_css.css
along do the same with images. Be sure you have your header.php in root of your web
精彩评论