How to use relative paths for included files such as .css

后端 未结 8 1279
梦如初夏
梦如初夏 2020-12-29 15:07

I have a header.php file which contains a .css file link.

When I \"include\" header.php into another php file in different fo

8条回答
  •  温柔的废话
    2020-12-29 15:49

    Like this:

    
    

    The first / says "Go to the root directory and look from there". It's a relative path.

提交回复
热议问题