
February 3rd, 2000, 04:23 AM
|
|
Contributing User
|
|
Join Date: Apr 1999
Location: London
Posts: 110
Time spent in forums: 22 m 26 sec
Reputation Power: 0
|
|
I have just had exactly(well sort of) the same problem, and got round it by doing a select count() before my delete stmt so it checks on a unique value to see if it exists, if it does you can delete and if it doesn't then you can't, which is kind of what you're asking.....basically you cant submit the same info twice 
The select stmt is below
"select count(OrderID) from Orders where OrderID='$OrderID'"
in mine it returns a count of either 1 or 0 from which I can do my if() stmt, hope that helps a bit (I dont think there is way to stop them going back and forth and resubmitting)
------------------
cheers
|