From owner-freebsd-questions Fri Jul 14 15: 9:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.164.200]) by hub.freebsd.org (Postfix) with SMTP id 2BB2537B9B8 for ; Fri, 14 Jul 2000 15:09:18 -0700 (PDT) (envelope-from doc@wcug.wwu.edu) Received: (qmail 10132 invoked by uid 1074); 14 Jul 2000 22:09:17 -0000 Date: Fri, 14 Jul 2000 15:09:17 -0700 (PDT) From: David Daugherty X-Sender: doc@sloth To: David@SkytrackerCanada.com Cc: questions@freebsd.org Subject: Re: newbie of php problem - code shows no output In-Reply-To: <396F8C2B.7659F647@www3.pacific-pages.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try naming the file with a .php extension. Also try this instead, it tells you a whole lot more: Example David Software Engineer - NetManage Work email: david.daugherty@netmanage.com Home email: doc@wcug.wwu.edu ICQ 21106703 Washington State Resident On Fri, 14 Jul 2000, David Banning wrote: > > > Hi - I am starting out 1st time with PHP4 - just installed. > > My first script called test.php4 gives a blank screen in Netscape; > > > > > > > $myvar = "Hello World"; > echo $myvar; > > ?> > > > > > > > I know the code is there, as when I save the netscape screen to a file, > the code is there. Any idea what could cause this? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message