How to start animation when GUI button is pressed

I have created simple animation in .fbx in blender and import it into the unity. The animation name is simple_anim and the animation will work fine when i play the button. But now i have added two GUI button and i want when i press gui button then the animation will run…I am new to script and i have written this simple script but its not working fine.

function onGUI()

Of that is an accurate paste of the code, the first thing I’ve noticed is the function name is spelled wrong. It should be

function OnGUI()  // With a capital O in On

The second is the “P” on “Play” should be UpperCase: