Jump to content

[SOLVED] php include


bruckerrlb

Recommended Posts

Hello,

 

I have a simple question, but it's been driving me crazy. I am trying to use the php include statement to go down one folder in my directory.

 

I've tried both of the following codes, but I always get errors


<?php include(".../toolbar.php"); ?>


 

Or

<?php include('.../toolbar.php'); ?>

 

Or

<?php include(".../admin/toolbar.php"); ?>

 

Or

<?php include('.../admin/toolbar.php'); ?>

 

Basically I've got a subfolder in the admin directory and I'm trying to get to my toolbar in the admin folder, which is one folder down, but I can't seem to get in there with php include, does anyone know what "m doing wrong?

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/87910-solved-php-include/
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.