Jump to content

include file not working


SukhmeetSingh
 Share

Recommended Posts

Have you wrapped the line in php open/end tags?like this -<?phpinclude("filename.php");?>Also..have you enabled php wamp? Does the page have a .php ending? Check you have the file in the same directory or the paths are correct between page and include.:)

Link to comment
Share on other sites

Have you wrapped the line in php open/end tags?like this -<?phpinclude("filename.php");?>Also..have you enabled php wamp? Does the page have a .php ending? Check you have the file in the same directory or the paths are correct between page and include.:)
Yes, i have php tag and the strange thing is tht when i include some other file that contains eg. a simple print (echo) command, it works but not this specific file and this file is working on web server where it is published. I just formated system and installed windows and xampp and it did'nt work from tht moment.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...