Timeline for Warning when using <?php include 'thefile.php'; ?>
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 5, 2018 at 6:06 | comment | added | Mike |
As far as I know, this is totally wrong! This triggers a syntax error in PHP. include is a keyword, you cannot assign anything to it.
|
|
Nov 20, 2011 at 15:47 | history | migrated | from stackoverflow.com (revisions) | ||
Nov 20, 2011 at 4:23 | comment | added | chris | You are correct.. Im just very used to writing in a different syntax due to the MVC's I use as of late. And images was sake of example.. nothing more | |
Nov 20, 2011 at 4:20 | comment | added | deceze | 1) The include syntax is fine without parenthesies. 2) What is "/images" relative to? | |
Nov 20, 2011 at 4:18 | history | answered | chris | CC BY-SA 3.0 |