![]() |
|
#1
|
|||
|
|||
Are you sure?Hi guys
Just a simple one I think: I have a simple form that the user enters an id number in and clicks a submit button to delete the entry from a database. I need some form of check that asks the user "are you sure you want to delete this entry" with a yes and no option. If the no option is selected then it needs to not delete it obviously and return to where teh user was, but if they click yes then it needs to continue. Any help would be appreciated - thanks |
|||
|
#2
|
|||
|
|||
|
This isn't too tough really. What you really want is to preserve the inputted data across one page (the one which asks you to confirm). It can be easily done like so:
PHP Code:
Do you see what I'm at? Note that I get confused with how submit buttons give values, so the above may not be perfect. GF |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The