june_c21 Posted November 21, 2007 Share Posted November 21, 2007 hi, i am doing a simple program to let user entry their travelling claim. how can i notify user when there are duplicate data (they enter same data twice) ? Quote Link to comment https://forums.phpfreaks.com/topic/78159-duplicate-data/ Share on other sites More sharing options...
cooldude832 Posted November 21, 2007 Share Posted November 21, 2007 you are going to have to explain your idea a bit clearer because you could be taking about a billion things Quote Link to comment https://forums.phpfreaks.com/topic/78159-duplicate-data/#findComment-395525 Share on other sites More sharing options...
june_c21 Posted November 21, 2007 Author Share Posted November 21, 2007 User need to enter Details and Amount and i need to difference it with the details. how i suppose to write? Quote Link to comment https://forums.phpfreaks.com/topic/78159-duplicate-data/#findComment-395529 Share on other sites More sharing options...
BenInBlack Posted November 21, 2007 Share Posted November 21, 2007 like cooldude832 we need more info. like... What are the form field names? What database are you using? Do you want the uniqueness check in PHP code or on the DB Side? Etc... Quote Link to comment https://forums.phpfreaks.com/topic/78159-duplicate-data/#findComment-395701 Share on other sites More sharing options...
june_c21 Posted November 21, 2007 Author Share Posted November 21, 2007 i'm using mysql as my database. Table A Staff no Name Details. check for duplicate by details ... Quote Link to comment https://forums.phpfreaks.com/topic/78159-duplicate-data/#findComment-395876 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.