Re: Autoupdate of page

From: Date: Wed, 25 Apr 2001 10:19:50 +0000
Subject: Re: Autoupdate of page
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-50265@lists.php.net to get a copy of this message
You can set a JavaScript to refresh after an amount of time, or call this function whenever the table is updated. echo "<script language='javascript'>jscode....</script>"; // as soon as you are done. -Richard ""Chris Anderson"" <chrisderson@ameritech.net> wrote in message news:004101c0cba9$b330b840$211412d1@null... > Hitting refresh would do it, you cant do anything client wise because the > box is being filled by the server code > ----- Original Message ----- > From: "Martin Skjöldebrand" <chimbis@skjoldebrand.org> > To: <php-general@lists.php.net> > Sent: Tuesday, April 24, 2001 3:53 PM > Subject: [PHP] Autoupdate of page > > > > IS there a standard way of "auto-updateing" the contents of a page after a > > databas insert or edit? Do a SELECT updates the contents I can update > > tables I've noticed. Contents in select boxes (as in > > > > while ($row = mysql_fetch_row($secquery_res)) { > > print "<option>$row[0]</option>"; > > } > > ) > > > > is not automatically updated to match edits or inserts done on the same > > page. You have to initialize the select box again. Or is there another > way? > > > > M. > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#50265) next »