This commit is contained in:
Rodolphe Quiedeville 2005-10-20 19:19:05 +00:00
parent b9cff6d2e3
commit 6e1c130e3c

View File

@ -46,6 +46,10 @@ if ($db->query($sql))
$clientPerChild = ceil($row[0] / $childrenTotal); $clientPerChild = ceil($row[0] / $childrenTotal);
$db->free(); $db->free();
} }
else
{
exit("Erreur selection des clients");
}
while ( $childrenNow < $childrenTotal ) while ( $childrenNow < $childrenTotal )
{ {
@ -55,7 +59,7 @@ while ( $childrenNow < $childrenTotal )
{ {
die( "error\n" ); die( "error\n" );
} }
elseif ( $pid == 0 ) elseif ( $pid )
{ {
$childrenNow++; $childrenNow++;
} }