Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread tedd
At 1:40 PM +0200 4/15/06, Alain Roger wrote: Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link ( ) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like to d

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread afan
Or, use form and images as button and you will not get variables at the end of the link: > and on the top of the page (php file) before you grab info from database and language info (maybe i the header file): -afan > On 15 Apr 2006, at 12:51, Alain Roger wrote: > >> but i do not want to

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Richard Davey
On 15 Apr 2006, at 12:51, Alain Roger wrote: but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. Not possible. Web pages don't work like that. You need the flags

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
but i do not want to add some variable at the end of link... when user click on the flag, it should first store language into a $_SESSION variable and after redirect/refresh page. On 4/15/06, chris smith <[EMAIL PROTECTED]> wrote: > > On 4/15/06, Alain Roger <[EMAIL PROTECTED]> wrote: > > Hi, > >

Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread chris smith
On 4/15/06, Alain Roger <[EMAIL PROTECTED]> wrote: > Hi, > > Sorry to look like stupid for some of you, but i'm still not able to link to > link ( ) or to a button via onclick event) the refresh of my page. > > i've check META tag and also $PHP_SELF variable, but it does not work. What happens whe

[PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
Hi, Sorry to look like stupid for some of you, but i'm still not able to link to link ( ) or to a button via onclick event) the refresh of my page. i've check META tag and also $PHP_SELF variable, but it does not work. here is what i would like to do. i have 1 PHP page on which i have 3 flags (

RE: [PHP] Refresh php section

2003-09-25 Thread chris . neale
EMAIL PROTECTED] Subject: [PHP] Refresh php section = start Test.php = // Section-A // Section-B // Section-C // Section-D = end Test.php = Greetings, It that a way for me to reload Section-A's php codes every 1-second and Section-D's php codes every 5-second, tha

[PHP] Refresh php section

2003-09-25 Thread ascll
= start Test.php = // Section-A // Section-B // Section-C // Section-D = end Test.php = Greetings, It that a way for me to reload Section-A's php codes every 1-second and Section-D's php codes every 5-second, that belongs to the SAME php file, say "test.php"? Thanks in adv

Re: [PHP] Refresh PHP

2003-07-09 Thread Scott Fletcher
cache... > > any ideas? > > Thank you > > Mauricio Valente > > - Original Message - > From: "Ralph Guzman" <[EMAIL PROTECTED]> > To: "'Mauricio'" <[EMAIL PROTECTED]> > Sent: Tuesday, July 08, 2003 6:57 PM > Subject: RE: [PHP]

Re: [PHP] Refresh PHP

2003-07-09 Thread Mauricio
ssage - From: "Ralph Guzman" <[EMAIL PROTECTED]> To: "'Mauricio'" <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 6:57 PM Subject: RE: [PHP] Refresh PHP > I though you were passing the variable through the url. If you have this > stored in a session, then

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
L PROTECTED]> To: "'Mauricio'" <[EMAIL PROTECTED]>; "'PHP'" <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 4:05 PM Subject: RE: [PHP] Refresh PHP > How about: > > if($_GET['url_variable'] != $url_variable){ >$ur

RE: [PHP] Refresh PHP

2003-07-08 Thread Ralph Guzman
How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:14 AM To: PHP Subject: Re:

Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
;[EMAIL PROTECTED]> To: "'Mauricio'" <[EMAIL PROTECTED]> Sent: Tuesday, July 08, 2003 2:11 PM Subject: RE: [PHP] Refresh PHP > Rather than using session_destroy() reset the session variable by > assigning it an empty value. For example, lets say your url l

RE: [PHP] Refresh PHP

2003-07-08 Thread Brian S. Drexler
Try adding a random number to the end of your URL.index.php?$randomnumber -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 10:02 AM To: PHP Subject: [PHP] Refresh PHP Hi people! Did anyone get this situation? I'm creating a Site that u

[PHP] Refresh PHP

2003-07-08 Thread Mauricio
Hi people! Did anyone get this situation? I'm creating a Site that uses 3 session variables. One of them I always print at the top of the page, it's the name of the user. There is a link that calls the function session_destroy(). Everytime that I follow this link and log in with another user, tha