FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » when incuding a page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: when incuding a page [message #184226 is a reply to message #184217] Sun, 15 December 2013 21:10 Go to previous messageGo to previous message
Ben Bacarisse is currently offline  Ben Bacarisse
Messages: 82
Registered: November 2013
Karma:
Member
Moon Elf <moonelf(at)moonelfsystem(dot)net> writes:

> On 2013-12-15, Christoph Michael Becker <cmbecker69(at)arcor(dot)de> wrote:
>> Fyndhorn Elder wrote:
>>
>>> richard <noreply(at)example(dot)com> writes:
>>>
>>>> <?php inlcude "page.html" ?>

(It's been pointed out before, but there is a typo there: "incl" not
"inlc".)

>>>> Should the include page be a complete page with headers or not?
<snpi>
>>> The correct syntax is include("string") or include('string literal')
>>
>> include is not a function, but a statement, so the parentheses are not
>> required.
>
> Indeed, you can write include "filename" or include 'filename' with a
> ; at the end but your parser does not accept closures as in JS
> e.g. new.

What's the connection with closures?

--
Ben.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: working model of the latest project
Next Topic: Include gives warning
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Apr 08 14:56:25 GMT 2025

Total time taken to generate the page: 0.03408 seconds