Newbie question... HELP
Hi , may i know how can i check wether a user exist or not in the database. Like a registration page , i wanna check if the user nric is already in the database, and if it does not exist then it will store the new user data.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
abdullah115 pointsPosted Aug 6, 2005, 10:32 AM EDT
simpy you have to search the databse for that name .... if it doesnt exist then add it to the database
otherwise ................
Here take a look at this script .......
this script is to access a page that require a password (registration)
So first I check wether the name & password matches if not or dont exist in the database prevent
him from going forword......
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts