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 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: 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=deb7a\l6KQfSGI?^@?lEae X-Complaints-To: staff@sunsite.dk Xref: csiph.com comp.lang.php:12253 richard writes: > > > 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