*x8 matrix

i need help im new to using arduino and ive been trying to use an 8x8 matrix. The problem i hav is that all diagrams and sketches have 8 pins on each side of thematrix board but mine has 12 on each side. Can anybody help me?????

Can anybody help me?

That's doubtful unless you provide more information about the specific matrix board that you have.