Jump to content

Leipe_Po

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Posts posted by Leipe_Po

  1. [code]

    <?

    //View Artist List, links to profile.

              require_once('dbconnect.php');
              $conn = db_connect();
              $db = @mysql_select_db ("mitchand_studio", $conn)
                  or die ("Registration failure, try again.");
        
        $sql = mysql_query("SELECT * FROM users ORDER BY id DESC");

    //the above line would get all your users, and order them by their Id's
    // the loop below would then make a link for every user
            
        while($row = mysql_fetch_array($sql))
        {
        stripslashes($row);
        
        echo '<a href="/profile/profile.php?user='.$row['uname'].'>'.$row['uname'].'</a>';
        
    }

    ?>

    [/code]
  2. well i have it on most of the time, somtimes i just turn it off if my securety spots anything, and also i'm a big fan adding use-abilaty without loosing it, thats why i love php so mutch, its server side so it aint got nothing to do with the visitor, it will work with or without javascript, so i know allready i aint going to love AJAX, but thats not what we here to discuss, i dont know, it aint yes, it aint no, so does sometimes count for somthing?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.