Hi I don't know which path should put into parameter in require_once()
I am working with 7.2.10-0.
I have a directory which is
ice_hockey > data > teams.php
ice_hockey > view > top.php
ice_hockey > index.php
My teams.php is like this
<?php
require_once('../view/top.php');
?>
but It does not work. I was searching for the path, especially relative path to put as parameter in require_once. Whatever I did, it doesn't work..
If I am put teams.php in the ice_hockey folder.
It will be easy but I need that folder to make easy.
How can I do? What is my problem here?