![]() Preserved Topic: PHP, forms and a 'reoccuring' problem (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
![]() I have this form that allows someone to update a database. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() That's not a bug. By refreshing the page, the script runs again, thus creating your problem. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Yeah what I like to do with my forms that submit to a db I usually just use one page that calls itself which includes different HTML pages depending on what it has done. |
Bipolar (III) Inmate From: |
![]() Absolutely that makes sense...unfortunately. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() mobrul: There is no need to redirect if you do what bitdamaged suggests. Just off the top of my head (i.e. very crudely) try something like this (pos. some problem in there but I think it should work - if it doesn't someone will jump in and point out my error!!): |
Bipolar (III) Inmate From: |
![]() Hey, that's pretty smooth, Emps...why didn't I think of that? |