Php?

Discussion in 'Gaming' started by .ZERO, Feb 22, 2009.

  1. .ZERO

    .ZERO Well-Known Member

    Posts:
    2,220
    Likes Received:
    1
    Joined:
    May 28, 2006
    Location:
    #gamerenders
    Ok, so i'm trying to get a image displayed based on user status stored in the SQL, I can get text statments to show but when it comes to this its got me stumped

    Code:
        $badge='[img]img/donor.png[/img]';
        $pr_don = "$pl_name $badge";
        $pr_donator = 
        if ($playerdata["prem"]){
            array($pr_don);
            }
        else{
        array("Player Details");
            }
    
    
        pageHeader(
    
            array($gamename, "Player Details", $pr_donator),
            array(
                $gamename=>$g_options["scripturl"] . "?game=$game",
                "Player Rankings"=>$g_options["scripturl"] . "?mode=players&game=$game",
                "Player Details"=>""
            ),
            $pl_name
            
        );
     
  2. .ZERO

    .ZERO Well-Known Member

    Posts:
    2,220
    Likes Received:
    1
    Joined:
    May 28, 2006
    Location:
    #gamerenders
    Nevermind, got it sorted.
     

Share This Page