This is my error:
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 53 in C:\xampp\htdocs\includes\class.rooms.php on line 35
This is the line in the coding:
return mysql_result(
dbquery(
"SELECT " . $var . " FROM rooms WHERE id = '" . $roomId . "' LIMIT 1"
), 0);