My php include is not working

Relating to installed LAMP and have started working on my web site. For some rationale, my include just isn’t working. Here is what We’ve.

< php

$title=" Analyze Question Your Examine Buddy";
$currentpage=" includes/pages/index. php";
include things like " includes/page. php";

>

It’s going to include a file if it’s in the very same folder. Why can it be not included these

Is the includes directory while in the same directory as being the file If not necessarily, this should can it

PHP:

include  ".. /includes/page. php";  

Relating to tried that. Still fails.

Needs your parentheses:

< php

$title=" Analyze Question Your Examine Buddy";
$currentpage=" includes/pages/index. php";
include things like " includes/page. php" ;

>

This entry was posted in Web Design and tagged , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *