The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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