You are here: Re: [PHP] Re: Sending a string with $_POST/$_GET « PHP « IT news, forums, messages
Re: [PHP] Re: Sending a string with $_POST/$_GET

Posted by Brian V Bonini on 09/28/46 11:16

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация