Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted as PHP by black ( 12 years ago )
$salesArrayList = array();
$varq = array();
while($row = mysql_fetch_array($result)){
$pid=$row["stock_products_code"];
$dir = "assets/sale/".$pid."/";
$dh = opendir($dir);
while (($file = readdir($dh)) !== false) {
$vpxd=$file;
if($vpxd=="." || $vpxd==".."){
//
//##
//
}else{
$vpxd=str_replace(".jpg","", $vpxd);
$string = implode(',', $varq);
$viso= $vpxd.$string;
}
}
array_push($varq, $row[0]);
}
echo $viso;
Revise this Paste