Topic awaiting preservation: Auto refresh page after delete from db |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: there...no..there..... |
posted 11-09-2006 14:24
I have a pretty simple php app that let's me add, edit and delete contacts from a MySQL database. When I edit, add or delete a contact and go back to the index page with the contacts listed, I have to hit refresh to see the change. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 11-09-2006 15:22
Yeah, you'll need to tell the browser not to cache the site. See php->header() (user comments) for the details on that. |
Maniac (V) Inmate From: there...no..there..... |
posted 11-09-2006 15:47
that did the trick! Thanks a bunch! |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 11-09-2006 17:11
I sure hope you went with the header |
Maniac (V) Inmate From: there...no..there..... |
posted 11-09-2006 18:13
oh yeah. piece of cake. sometimes we forget to just RTFM |