Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM Backend script

Discussion in 'General Discussion' started by dquinney, Jul 20, 2005.

  1. dquinney

    dquinney Member

    Joined:
    Mar 20, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Hi i am in need of some help, my problem is that i use the following code to view packages:

    PHP:
    function viewpackage(){ 
    $query  "SELECT ip, user, hash FROM servers"
    $result mysql_query($query); 

    while(list(
    $ip,$user,$hash)= mysql_fetch_row($result)) 

    $ssl 0

    $pkgs listpkgs($ip,$user,$hash,$ssl); 

            foreach(
    $pkgs as $name=>$value
                { 
                if(
    $name == $package
                    { 

    $value[4

                    } 








    and it returns $value[4] ect

    is there any way to do this so it displays all the customers?
    Thanks Daniel Quinney
     
    #1 dquinney, Jul 20, 2005
    Last edited: Jul 20, 2005
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice