<?php $result = @mysql_query("SELECT id, date, topic, users FROM $table"); while (list($id, $date, $topic, $users) = @mysql_fetch_row($result)) { } ?>