Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: users online

  1. #11
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  2. #12
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I forgot to remove them.

  3. #13
    Join Date
    Mar 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?>

  4. #14
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Change root to your MySQL database username.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •