ðÒÉ×ÅÔ!
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
; -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
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.
3 matches
Mail list logo