Hi i am in need of some help, my problem is that i use the following code to view packages:
PHP Code: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



LinkBack URL
About LinkBacks
Reply With Quote




