PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm using the below code to pull all columns from a table and list the column names and SUM totals of their content ... I've got 8 distributor records in this table, and I'd like to pull columns and SUMS of, per distributor ... How?
I've never seen results pulled like that before (the query within the loop). If I'm not mistaken, doesn't that seriously slow down script execution time?
I suggest sticking to the ways shown on the function pages here: [php_man]mysql[/php_man].