-
Well, for one, remove the numbers infront of create and time. Second, remove the numbers beside ip and ".
Basically, the numbers go from 1 to 4, remove them and it will probably worked. Unless you put those numbers there yourself.
Also, don't just copy and paste try actually writing the code, yes you'll probably get errors, but it's better than removing the numbers from your code, as you cannot copy and paste without the numbers.
-
-
Thanks, I forgot to remove them.
-
-
Ok, what is the "root" that is stated.
1<?php
2
3$db=mysql_connect("localhost","root","pass") or die(mysql_error());
4mysql_select_db("test_db",$db);
5
6?>
-
-
Change root to your MySQL database username.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks