Re: refreshing PHP on onClick
| From: | Kevin Stone | Date: | Thu, 16 May 2002 20:01:23 +0000 |
| Subject: | Re: refreshing PHP on onClick | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97961@lists.php.net to get a copy of this message | ||
I'm not certain I understand your situation. If you're trying to keep state
between each new input then I would recommend PHP sessions to store your
variables. Could you elaborate more what you're trying to do?
-Kevin
----- Original Message -----
From: "Leotta, Natalie (NCI/IMS)" <LeottaN@ims.nci.nih.gov>
To: <php-general@lists.php.net>
Sent: Thursday, May 16, 2002 1:48 PM
Subject: [PHP] refreshing PHP on onClick
> This might be a little bit JS and a little bit PHP. I'm wondering if
> there's an easy way to refresh a PHP page on an "onClick" and change one
> parameter (say someone wants to redraw the graph, but with the points). I
> don't want to pay attention to any of the other parameters that could have
> changed on the screen (we've got a bunch of selects). We had come up with
a
> really complicated way which involved changing the parameters to the most
> recent line drawn, deleting the most recent line, and then submitting with
> those parameters and the showPoints value changed, but that sounds pretty
> complicated.
>
> If anyone could come up with a quicker way that didn't involve the whole
> submitting thing, that would be easier. My page has all of the vars that
> are necessary in hidden vars, and has HTML, PHP, and a handful of JS.
>
> Thanks!
>
> -Natalie
>
>
> Natalie S. Leotta
> Information Management Services, Inc.
> (301) 680-9770
> LeottaN@ims.nci.nih.gov
>
>
>