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.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
abdullahPosted Aug 6, 2005, 2:32 PM
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......