Thanks Sxooter. I know you are trying to tell me something but I obviously just don't get it, lol.
I made the changes like this:
<?php
include("header.php");
include("dbconnect.php");
?>
<?
$conn = mysql_connect($MySqlHostname, $MySqlUsername, $MySqlPassword);
//put table fields data in array
$sql = mysql_query("SELECT nick,gameid,point_type,point_id,SUM(pointamt) AS points,SUM(pointcount) AS count FROM records AS Totals GROUP BY nick, gameid, point_tpe, point_id ORDER BY nick,");
$resultall = MYSQL_QUERY($sql);
print mysql_error($conn);
?>
<?
// Whats WRONG with these lines?????? lol
//if i put mysql_fetch_array() as first line here QUERY comes up empty
//if I take out all these lines here, and only put the fetch array line, QUERY comes up empty again
//so the problem is a combo of these lines and the query? but what is it? lol
$nick=mysql_query($resultall,"nick");
$gameid=mysql_query($resultall,"gameid");
$point_type=mysql_query($resultall,"point_type");
$point_id=mysql_query($resultall,"point_id");
$pointamt=mysql_query($resultall,"pointamt");
$pointcount=mysql_query($resultall,"pointcount");
?>
OMG, I have NO clue here lol. Im MELTINGggggggggggg lol!!!!
Barb
This is what I get for being a complete newbie, lol. I'm going back to Crystal Reports lol!