Re: reload a page
| From: | Jayme Jeffman Filho | Date: | Tue, 01 Aug 2000 22:40:00 +0000 |
| Subject: | Re: reload a page | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1690@lists.php.net to get a copy of this message | ||
Another way to make the page to reload is call the JavaScript Go method of
the History object, using zero(0) as the paramater window.history.go(0) ;
This causes the page to reload from the cache, not from the server. The
window.reload() method reloads the url from the server.
Jayme.
-----Mensagem original-----
De: Bernie Huang <bernie.huang@ec.gc.ca>
Para: ROUSSY, ISABELLE <isabelle.roussy@bell.ca>
Cc: php <php-db@lists.php.net>
Data: Terça-feira, 1 de Agosto de 2000 16:53
Assunto: Re: [PHP-DB] reload a page
>"ROUSSY, ISABELLE" wrote:
>
>> Hello all,
>>
>> I have a submitted page with a selected item with all his related
>> information. On this page, can I reload the page with a new item using a
>> query and just put this variable name in the existing query. I don't
>> want to submit to another page I want this feature to be working on the
>> same file.php
>>
>> is it possible, can I find an example of this, or can someone tell me
>> just the general steps/ideas on how to implement this.
>> If a reload function exist, what is it?
>>
>> thanks, any suggestion is welcome
>> --
>> Isabelle Roussy
>> Bell Canada
>> IS/IT - Billing Requirements
>> 700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1
>> Mailto:isabelle.roussy@bell.ca
>> Office (514) 391-7939 Fax (514) 393-8162
>>
>> --
>> PHP Database Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-db-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>Yeah, I tried to do a reload before and after some Q&A, I think there are
>three ways:
>
>1. Use javascript reload() method, which is short and nice, but I can't
>seem to find a way to pass PHP variables with it.
>
>2. Use a echo "<meta http-equiv=refresh...>"; to refresh/reload the page
>and of course you can pass PHP vars (query-string) to it.
>
>3. Use a header() function in PHP to redirect to the same page and you can
>pass vars in as well.
>
>Maybe you can find some other better ways, but if you do find one, maybe
>you can share them? =)
>
>- Bernie
>
>