hiii how can i create login and password in my website?????

Recommended Answers

All 2 Replies

Is this an ASP.NET project?

Well first you have to (assuming ur using PHP same principles still apply for ASP but you have to have a MYSQL db that has the usernames and passwords then u select the user from the database like this SELECT * FROM users WHERE username=".$username."&&password=".$password." thats the SQL command then you have to make it to check if there are any values that match PS remeber to strip special chars first before checking so you dont allow SQL injections hope this may of helped slightly i am still very new to this area as im only a high school student

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.