Consider the example:
$$\frac{7}{x} = 0$$
If we multiply both sides by $x$ we get
$$7 = 0$$
which obviously is wrong.
However with the equation
$$\frac{7x^2 - 67x +126}{x(x-2)(x-3)} = 0$$
You can multiply by zero and get
$$7x^2 -67x + 126 = 0$$
I think it is because there are still $x$'s remaining in the expression. However what is the exact rule when it is allowed to multiply by zero and when it is not...