Re: [PHP] strange php output

2002-07-10 Thread Alberto Serra
ðÒÉ×ÅÔ! Calvin Spealman wrote: > if (!$page=="datetime") // Not using index.php > { > include("header.php"); > } > ?> > > this code works when datetime.php is included by index.php, but on its > own the script just outputs . Even ignoring > the xhtml code outside the php

RE: [PHP] strange php output

2002-07-10 Thread César Aracena
; -Original Message- > From: Calvin Spealman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 5:27 AM > To: [EMAIL PROTECTED] > Subject: [PHP] strange php output > > I'm trying to do a little trick with my new site. i have one main php > script, index.php whi

[PHP] strange php output

2002-07-10 Thread Calvin Spealman
I'm trying to do a little trick with my new site. i have one main php script, index.php which includes the header and footer scripts and the page script between them. the page script is determined by $page, which is set to "main" if it doesnt exist already. $page . ".php" is then included.