HELP! Having crazy problem with serial Transmission.

just a simple thing i notict. when ur making a for structure do this:

  for ( int i = 0; i < 8; i++)

instead of:

  int i;
  for(i = 0; i < 8; i++)