User Login Session |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Databases & MySQL |
||
![]() |
User Login Session |
||
Mar 29 2012, 09:34 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 29-March 12 Member No.: 236,031 |
Hello, I've just watched a tutorial on how to make a login session, and a login form for my website.
I'm new and I'm a free user, and my mySQL thing says localhost, so does that mean it should be like this?: CODE $connect = mysql_connect("localhost","root", "") or die("Couldn't connect, Please try again later. Sorry for the inconvience."); Or do I have to change the mysql_connect("localhost") to something else? |
|
|
Mar 29 2012, 09:44 PM
Post
#2
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,758 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
mysql_connect() is not just mysql_connect("localhost"); its mysql_connect("localhost", "user", "pass");
|
|
|
Mar 29 2012, 09:45 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 3 Joined: 29-March 12 Member No.: 236,031 |
|
|
|
Mar 29 2012, 09:57 PM
Post
#4
|
|
|
THE SILENT FORUM NINJA ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 3,758 Joined: 23-January 10 From: on your screen Member No.: 127,507 |
not that i can think of
|
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 19th June 2013 - 07:14 AM |