Re: Forms carrying values.

From: Date: Mon, 11 Feb 2002 16:43:23 +0000
Subject: Re: Forms carrying values.
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-16808@lists.php.net to get a copy of this message
../index.php?name=<?echo("$name")?> change to ../index.php?$name "Cassio" <is@beyl.de> wrote in message news:20020211113528.62786.qmail@pb1.pair.com... > Just try <? echo urlencode($name); ?> > > > <Bzdpltd@aol.com> schrieb im Newsbeitrag > news:14a.8b29447.2998f6ae@aol.com... > > Hi list, hope someone can help me here. > > > > I have content management system I have designed. I am still learning php > so help here would be appreciated. > > > > The user logs into the system, and we carry there user name over the pages > using a link to each page with the value of their name carried over as > follows: ../index.php?name=<?echo("$name")?> > > > > This works fine for the whole site, except when a user makes changes to a > entry. Once they submit adding a new entry or modifying an existing one, the > value of : ../index.php?name=My Name ends up being ./index.php?name=My > > > > It deletes the end of the name of the url, so that when the user clicks > the link it does not really know who they are. > > > > I have used a hidden field to carry the value of the name over the pages, > but it does not work on forms. > > > > I hope this makes some sort of sense. > > > > If anyone knows of a workaround. > > > > Thanks > > > > Barry > >

« previous php.db (#16808) next »