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 fault is higher up, at least. Joseph > On Wed, 27 Oct 2004 22:40:38 +0100, Joseph Harris <> wrote: > > > <?php > > 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; > > $meta->company_name = > > .....and so on..... > > $meta->generator = "PHP"; > > ?> > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > > "http://www.w3.org/TR/html4/loose.dtd"> > > <html> > > <head> > > <?php > > echo $meta->metadata($ptitle); > > } > > ?> > > No errors at all even with error reporting turned on? > > This looks off, missing or an extra curly brace: > > <?php > echo $meta->metadata($ptitle); > } > ?> > > (it's a start -hth!) > > cheers, > > Mark > > MG Web Services > www.mgwebservices.ca > > Your Canadian West Coast web site development and hosting solution. ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.