
July 6th, 2000, 05:57 AM
|
 |
.Net Developer
|
|
Join Date: Feb 2000
Location: London
Posts: 987
Time spent in forums: 3 h 26 m 22 sec
Reputation Power: 14
|
|
vijay,
you can tackle this problem..
i don't know wether you are receiving any unique value from form(user) to your database(ie, field like "username" --it will be unique for each and every user).so you can issue a select command before inserting new record into the database.
"select * from tablename username='$username'";
if that record is exist then show him a message "Record is already exising in the database"...
print "Location: <A HREF="http://www.yoursite.com/thankyou.htmnn";" TARGET=_blank>http://www.yoursite.com/thankyou.htmnn";</A>
you can implement this logic also.but here also you can update your data if you go back to your previuos screen and update it again...
-----
------------------
SR -
webshiju.com
"The fear of the LORD is the beginning of knowledge..."
[This message has been edited by Shiju Rajan (edited July 06, 2000).]
|