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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.