Re: How to pass on a variable with a page request

From: Date: Tue, 21 Nov 2000 22:03:23 +0000
Subject: Re: How to pass on a variable with a page request
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-26537@lists.php.net to get a copy of this message
Hello Bruno, (BT == "Bruno Tersago") bruno@fhw.gr writes: BT> I'm a newbie to PHP and I already ran into trouble after the first test. I BT> was following the article written by Kevin Yank on Webmasterbase. BT> BT> When I want to pass along a variable via a page request, things go wrong: BT> In the HTML file I write: BT> BT> <a href="click.php?name=Bruno"> Hi , my name is Bruno </a> BT> BT> In the PHP file, I only see BT> BT> Welcome, ! I'm assuming you have: Welcome, <? echo $name; ?>! In the "PHP file," right? BT> whereas I expected to see the name appear (invoked by $name). BT> I can see it in the URL but not in the page. BT> BT> Any ideas why? BT> Oh yes, I use SUSE Linux, Apache 1.3 and PHP4. So far no complaints during BT> installation. -Brian -- Computers are useless. They can only give you answers. --Pablo Picasso

« previous php.general (#26537) next »