RE: [PHP] strange php output

2002-07-10 Thread César Aracena
I don't understand quite well your question, but I guess you are trying to include a page inside other pages containing just a script that shows up the actual Date and Time... Well, you could simplify this just by making a finction called i.e. datetime() and call it from wherever you want. It

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 htmlbody/body/html. Even ignoring the xhtml code outside