Execute ( $sql); if ($Indexproductsnum->RecordCount () > 0) { $Indexproducts = $db->Execute ( $sql,10); // echo '
'.$Indexproductsnum->RecordCount ().' Who Bought This Product
'; echo '
Who Bought This Product.Total Items:'.$Indexproductsnum->RecordCount ().'
'; ?> EOF ) { $buy_price=$Indexproducts->fields['final_price']*$Indexproducts->fields['products_quantity']; ?> MoveNext (); } echo '
customers namebuyeraddressquantityfinal priceorder date
fields['customers_name']; $name=str_replace($name{strpos($name," ")-2}.$name{strpos($name," ")-1}." ","** ",$name); echo $name; ?> fields['customers_email_address']; $stremail=str_replace($stremail{strpos($stremail,"@")-2}.$stremail{strpos($stremail,"@")-1}."@","**@",$stremail); echo $stremail; ?> fields['customers_country']; ?> fields['products_quantity']; ?> fields['date_purchased']; ?>
'; }else{ // echo '
No One Bought This Product
'; } ?>