Re: HELP sending variables
| From: | erbel@submedia.de | Date: | Fri, 22 Nov 2002 18:29:50 +0000 |
| Subject: | Re: HELP sending variables | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2707@lists.php.net to get a copy of this message | ||
erbel@submedia.de schrieb:
Hope I can help, I'm also new: declare your variable as GLOBAL on every Page you are, i.e. in every toplevel-window. Then you should be able to read it! $w1 = your First Window .. here comes your code GLOBAL $variable1,$w1,$w2; $variable1 = "PHP-GTK is great" ... $w2 = your second Window ...here comes your code GLOBAL $variable1,$w1,$w2; print ("My variable has the value $variable1"); .... Mostly I had errors when I forgot to declare the variables as GLOBAL Volker Kris schrieb:Hi All I want to send variables from one page to another page. How can I go about this??? I don't want to use a form. Or if using a form I don't want the user to have to hit the submit button. Thanks Kris