RE: [PHP] Passing arguments from one script to another using a link

From: Date: Thu, 10 Apr 2003 19:08:47 +0000
Subject: RE: [PHP] Passing arguments from one script to another using a link
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143386@lists.php.net to get a copy of this message
Hi Michael, You can pass arguments like : contact.php?arg=blabla&arg2=hello Then u use $_GET["arg"] to get the values. Best regards, Davy Obdam > -----Oorspronkelijk bericht----- > Van: Michael Eacott [mailto:Michael@eacott.worldonline.co.uk] > Verzonden: donderdag 10 april 2003 21:04 > Aan: php-general@lists.php.net > Onderwerp: [PHP] Passing arguments from one script to another > using a link > > > I have the following in a PHP script > echo "<a href='contact.php'>Contact Owner?"; > and would like to pass argument to the form. > I've read that I can use something like the following as the > URL: contact.php?arg+arg2 > > How do I access the aregument in the contact.php from / > script? and how can I pass variables? > > TIA > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ================================================================ > Deze e-mail is door E-mail VirusScanner van Planet Internet > gecontroleerd op virussen. Op http://www.planet.nl/evs staat > een verwijzing naar de actuele lijst waar op wordt gecontroleerd. > >

« previous php.general (#143386) next »