Code:
$q = "SELECT * FROM rev_counter";
$result = mysql_query($q) or die(mysql_error());

$num = mysql_num_rows($result);

while($record = mysql_fetch_assoc($result))
{
			
	$id = $record["cid"];
If I echo $num I get a 170 odd count, which looks right.

However if I echo $id the value is null, yet no error messages. Seems to work fine on a Win box but doesn't want to play nice on a nix server

It's probably obvious to a guru.... what am I doing wrong, and why does the nix server hate me