Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12253
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail |
|---|---|
| From | Fyndhorn Elder <bubble@caradhras.lan> |
| Newsgroups | comp.lang.php |
| Subject | Re: when incuding a page |
| References | <1uhcw9wjxnuap$.oya5fj4d12fv.dlg@40tude.net> |
| Date | Sun, 15 Dec 2013 17:42:23 +0000 |
| Message-ID | <m2situui2o.fsf@caradhras.lan> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) |
| Cancel-Lock | sha1:6a6CzPBvgHkk2bhydM965Euwjf8= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Lines | 26 |
| Organization | SunSITE.dk - Supporting Open source |
| NNTP-Posting-Host | 81.245.192.116 |
| X-Trace | news.sunsite.dk DXC=deb7<W1XO8cN2]LRcf6HDcYSB=nbEKnkk^GFK;C8ON8eKPVSLA_UhIj`On3[XHkGchI4YL?4S]UQmf`\M1[bVeHn9c8>a\l6KQfSGI?^@?lEae |
| X-Complaints-To | staff@sunsite.dk |
| Xref | csiph.com comp.lang.php:12253 |
Show key headers only | View raw
richard <noreply@example.com> writes:
> <?php inlcude "page.html" ?>
>
> Should the include page be a complete page with headers or not?
Look at the source code in your browser (right-click or CTRL-click on a mac mouse), select the view source menuitem. You'll see what is included on the output of your PHP script.
>
> The validator throws a hissy fit when doing so.
>
The correct syntax is include("string") or include('string literal')
> If not, then how does one properly include the stuff for that page?
> Such as CSS or javascript.
>
Again, watch the output in the source view of your browser.
HTH,
FE
--
Time heals.
My blog : https://thediaryofelvishhealer.blogger.com
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
when incuding a page richard <noreply@example.com> - 2013-12-06 12:05 -0500
Re: when incuding a page "J.O. Aho" <user@example.net> - 2013-12-06 18:16 +0100
Re: when incuding a page Dennis <nobody@nowhere.invalid> - 2013-12-06 12:29 -0500
Re: when incuding a page "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2013-12-06 18:09 +0000
Re: when incuding a page The Natural Philosopher <tnp@invalid.invalid> - 2013-12-06 19:33 +0000
Re: when incuding a page Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-06 20:44 +0100
Re: when incuding a page Richard Yates <richard@yatesguitar.com> - 2013-12-06 12:15 -0800
Re: when incuding a page Scott Johnson <noonehome@chalupasworld.com> - 2013-12-06 13:35 -0800
Re: when incuding a page Fyndhorn Elder <bubble@caradhras.lan> - 2013-12-15 17:42 +0000
Re: when incuding a page Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-15 19:34 +0100
Re: when incuding a page Moon Elf <moonelf@moonelfsystem.net> - 2013-12-15 19:34 +0000
Re: when incuding a page Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-12-15 21:10 +0000
Re: when incuding a page Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-20 18:57 +0100
csiph-web