$query =mysql_query("SELECT *FROM $table order by id DESC LIMIT $inicio, $registros")or die ('malo query');