[wdvltalk] Re: two results / one file - php

2004-10-28 Thread Joseph Harris
Sheila, It clicked this morning; I have only the first few basic pages at the moment, with no page title to use! When I run the layout page in the browser up comes the full header in the source. Thank you for that. Incidentally, the mail saying I am going to bed has only just appeared on the

[wdvltalk] Re: two results / one file - php

2004-10-28 Thread Joseph Harris
Mark, That is the closing curly brace to the function myheader($ptitle). (Only one pair on the page. The pairs on the class file seem correct too.)I have moved it hither and thither. If I take it above the doctype the doctype prints on the source, but still none of the metadata - which is

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Mark Groen
On Thu, 28 Oct 2004 00:07:53 +0100, Joseph Harris wrote: > I took the brace out, and I put two in, -- and then I did get some error > reporting!! > > But there is something weird. In the working set the closing curly brace > is well down the page, but when I put this one in the equivalent spot

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Joseph Harris
Mark, I took the brace out, and I put two in, -- and then I did get some error reporting!! But there is something weird. In the working set the closing curly brace is well down the page, but when I put this one in the equivalent spot it misses everything but what comes after. Which shows the

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Joseph Harris
Sheila, 'layout' picks up 'common' which picks up 'clsMetaContent' which has class Meta{ function metadata($ptitle){. to complement myheader($ptitle) This is virtually a cut and paste job from a working set of files. I just cannot see anything different in terms of code, though I hav

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Sheila Fenelon
Joseph Harris wrote: I am trying to solve this source code not printing. I have adapted another class file and can find no errors. The original works fine, but with the adaptation not only is the meta code not printing, but the doctype -which is straight html code - is being missed. Here's the

[wdvltalk] Re: two results / one file - php

2004-10-27 Thread Mark Groen
On Wed, 27 Oct 2004 22:40:38 +0100, Joseph Harris <> wrote: > error_reporting(0); > include $_SERVER['DOCUMENT_ROOT']. > "/new_spw_site/common_spw.php"; > function myheader($ptitle){ > //include classes meta content- now in common_spw.php > $meta = &new meta; > $me