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"" <[EMAIL PROTECTED]> wrote in message
004101c0cba9$b330b840$211412d1@null">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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to