Jump to content

PHP include- script


ilikephp

Recommended Posts

Hello,

 

In my web page when I put all the files in the root I use this script:

<?PHP include "menu.php"; ?>

And everythink is OK.

 

What can I do please if my files are inside folders??

This is an example:

I dont think it is correct because nothing is appearing :(

What is wrong with this script?

<?PHP include "english/SubPage/menu/menu.php"; ?>

Link to comment
https://forums.phpfreaks.com/topic/100849-php-include-script/
Share on other sites

index.php

<?PHP include "http://www.yoursite.com/english/SubPage/menu/menu.php"; ?>

 

 

menu.php

MENU IN HERE

 

 

I think he has already got that far, i think what he is saying, is that even with that code, the file is still not being included,  im out of ideas sorry.

Link to comment
https://forums.phpfreaks.com/topic/100849-php-include-script/#findComment-515723
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.