Or:

"Better to keep ones mouth shut and be thought a fool; than to open it and erase all doubt!"

My other favorite is:

"The only stupid question is the one that's not asked"