Skip to content
Advertisement

php include prints 1

i code the following

JavaScript

When I use the include function in conjunction with a function that’s designed to output to the page (e.g., or echo include ‘foo.php’), it returns the include but with a “1” after the content that has been included.

Advertisement

Answer

JavaScript

should be

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement