Jump to content

having a night mare with include or require


Danler
 Share

Recommended Posts

Hello all, i just joined today, because am going nuts with php and the include or require statement/function

I want to use them to link to a header. Nothing hard about that , I would say. But my bit of code below just does not work.

I am running them in a test area on my server. Just to be safe The file L2.php is in the same directory/folder ( showing my age).

 

I should  say that am have been programming a while but only using php for about 4 weeks and this normal simple bit of code has me stumped.

 I am building the site in visual studio and atom.

 any pointer would be received with joy

 

The content of L" is also below .

Danler

 

 

 

<?php include_once('L2.php'); ?>

centents of l2.php below

<h3>  line 2   <br><H2>Hello world AM TRYING 6</h2> </h3>

 

Link to comment
Share on other sites

This thread is more than a year old.

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.

 Share

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