Hello,
in the "front list" in the "Columns list" is "fun.funies: FUNies".
How do I change this code if the code in the "Fields-Box" is intended to:
Best wishes
Fred.
in the "front list" in the "Columns list" is "fun.funies: FUNies".
How do I change this code if the code in the "Fields-Box" is intended to:
fun.funies:
<?php
$query = "SELECT user_id, SUM(funies) FROM c9ol5_funies GROUP BY user_id";
$result = mysql_query($query) or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result)){
echo " ". $row['user_id']. " = ". $row['SUM(funies)'];
echo "<br />";
}
?>
Best wishes
Fred.