RE: [PHP-DB] how to clear variabeles

From: Date: Sat, 01 Jul 2000 01:07:34 +0000
Subject: RE: [PHP-DB] how to clear variabeles
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-798@lists.php.net to get a copy of this message
In article <NCBBLJIMIKGJPMALFMIDAEEFCHAA.DayWalker@TheMatrix.com>, DayWalker@TheMatrix.com ("Daevid Vincent") wrote: > the only problems so far are some idiot user using the 'back button' on > their browser. the only way to get around that, that I know of is to > check the db to see if that record exists before inserting... there is a > "REPLACE INTO" SQL statement that works like a combo of INSERT and > UPDATE, it > "inserts data into a table, replacing any old data that conflicts" that > may be of help. They are not idiot. What I do is a header("Location=somewhereelse.php"); after I have done my work. The back button then skips the previous page. Nicolas

« previous php.db (#798) next »