Error message :initializer (help!)

What should i do if i get this error message: "Expected initializer before if statement"

http://arduino.cc/forum/index.php/topic,97455.0.html

how is that supposed to help me?

Frank-duino: how is that supposed to help me?

The title is "Read this before posting a programming question ...".

It's hardly rocket science to figure out what Coding Badly is suggesting you should have done before posting a programming question.

What should i do if i get this error message:

Is this a trick question? Fix your code.

Frank-duino: What should i do if i get this error message: "Expected initializer before if statement"

Simple: Put an initializer before your 'if' statement.

how is that supposed to help me?

Did you actually read it?
See:

  1. Getting help on the forum

Post your code, the whole code (in code tags), post the error message (quoted in full), otherwise all we can say is "fix the bug" !!