Re: reload a page

From: Date: Tue, 01 Aug 2000 19:55:22 +0000
Subject: Re: reload a page
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1681@lists.php.net to get a copy of this message
"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

« previous php.db (#1681) next »