Re: Re: Sending a string with $_POST/$_GET

From: Date: Wed, 18 May 2005 17:40:46 +0000
Subject: Re: Re: Sending a string with $_POST/$_GET
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-215507@lists.php.net to get a copy of this message
On Wed, 2005-05-18 at 11:53, Luis wrote: > Ross wrote: > > I want to write a string to a variable and use $_POST or $_GET to retrieve > > it on another page. $string = 'this is a string'; echo '<a href="another_page.php?val=' . $string . '">Next page</a>'; another_page.php: echo $_GET["val"]; -- s/:-[(/]/:-)/g Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu ====================================================================== gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC Key Info: http://gfx-design.com/keys Linux Registered User #339825 at http://counter.li.org

« previous php.general (#215507) next »