I am pretty new to this stuff still and have done a bit of searching but can't make sense out of stuff yet.
I have code as follows:
$query = 'SELECT totals FROM alpha where UserID="1"'; $result = mysql_query($query) or die('Query failed: ' . mysql_error()); echo "$result";
I want it to look in the table called alpha at the column called totals and return me the entry where on the same row under the userid column the value is 1
I keep getting a resource id # result.......
How do I adjust things.