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

Thread: User System?

  1. #11
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Quote Originally Posted by Cj555 View Post
    PHP Code:
    <?
    if($logged[badge1]==1)Echo("<img src=\"badges/badge1.gif\" />");
    ?>
    That code is poorly coded


  2. #12
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:

    Default

    If you have a control panel and want a ''User level'' to see it, type something like

    PHP Code:
    $username=$_SESSION['username']; 
    if(
    $info->userlevel=='LEVEL HERE'){ 

  3. #13
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    kayne, you can't code PHP, that wouldn't even work.

    -You didn't end the IF
    -He might not use sessions
    -The users info may not be in a info array

    Don't post what you have no idea what it does.
    Last edited by Mr Macro; 25-06-2007 at 03:18 PM.
    James


    Connected to reality through a proxy server.

Page 2 of 2 FirstFirst 12

Posting Permissions

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