View Full Version : SiMpLe QuEsTiOn
i would liek clicking a link to change a variable
i think this is something like mypage.php?variablename=newvalue
but this dosnt work, how do I do it :confused:
07-06-2005, 02:48 AM
say your variable name that you want to change is $var. you could use
<a href="page.php?val=newvalue">click me<a/>
and then on page.php you need to assign the value to a variable. i.e
$var = $_GET['val'];
07-06-2005, 07:38 AM
Please read our posting guidelines before creating any more threads which I said to do so in one of your previous threads. This one to be exact: http://www.codingforums.com/showthread.php?t=60297
And please do not use LeEt HaXoR type in our forums.
That is all. Carry on.
07-06-2005, 05:11 PM
php.net and google.com are your friends :thumbsup:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.