Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12253
| From | Fyndhorn Elder <bubble@caradhras.lan> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: when incuding a page |
| References | <1uhcw9wjxnuap$.oya5fj4d12fv.dlg@40tude.net> |
| Date | 2013-12-15 17:42 +0000 |
| Message-ID | <m2situui2o.fsf@caradhras.lan> (permalink) |
| Organization | SunSITE.dk - Supporting Open source |
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