Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

users?

Status
Not open for further replies.

VBMan

Programmer
Jul 1, 2000
49
US
How would i connect to a database, enter a user and password in it, then allow the user to login?

~Ben
 
what database do you want to use?
if you use mySQL it's like this:

mysql_connect("host","username","password");

then insert the data.
 
I use mySQL. I need to know every step because I am just learning SQL and have very little PHP experance.
 
There are a lot of steps involved with PHP and MySQL. I would recommend going to and starting with the mysql_connect or mysql_pconnect functions. From there it all depends on what you are tring to accomplish. I would probably read the descriptions of each function in the MySQL chapter to understand how the two work together. Under each function is examples on syntax and links to related functions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top