Jump to content

Using PHP Includes


Lineman

Recommended Posts

Just want to clarify that i have got this right! If i constructed a very simple webpage for example, and saved itwith a '.PHP' extension and then between the HTML <body> and </body> tags i typed:

 

<?php

include "filename.txt";

?>

 

That would be the correct code to use.

 

Thanks in advance for any and all help and advice.

Link to comment
https://forums.phpfreaks.com/topic/111305-using-php-includes/
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.