Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include File

Status
Not open for further replies.

bongmarley

Programmer
Oct 21, 2002
74
CA
How do you include a file.
In my code I have
<?php
require(C:\ProgramFiles\EasyPHP\?>
but I get the error
Parse error: parse error, unexpected '=' in c:\program files\easyphp\ on line 5

What is wrong with my code?
Both the common.php and the file I am calling it from are in the same folder
 
well, that's easy... that file with that path does not exist.

I'll bet dollars to donuts it's because you mean

Program Files

and not

ProgramFiles

-Rob
 
You have won yourself some donuts. Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top