Jep, that did it Thanks! -Kalle
----- Original Message ----- From: "Richard Baskett" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 11:28 AM Subject: Re: [PHP] howto set variablevalue with link? > yeah you can set a variable this way: > > http://www.example.com/test.php?var=something > > This sets the variables $var equal to "something" and you can use them > accordingly within your script. If you have safe mode on then you'll need > to access the $var variable by using the $_GET array like so: > > $_GET['var'] > > Cheers! > > Rick > > "What lies behind us and what lies before us are tiny matters compared to > what lies within us." - Oliver Wendell Holmes > > > From: "Kalle Saarinen" <[EMAIL PROTECTED]> > > Reply-To: "Kalle Saarinen" <[EMAIL PROTECTED]> > > Date: Fri, 1 Aug 2003 11:21:23 +0300 > > To: <[EMAIL PROTECTED]> > > Subject: [PHP] howto set variablevalue with link? > > > > Hello, > > > > I was wondering is it possible to set a variable value with html link? > > > > I would like to have link button in my page that changes the language. I > > thought to set $lang variable with the button and later use it to detedmine > > what to fetch from the database. > > > > What wound be the smartest solution? > > > > Thanks > > > > -Kalle > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php