char* msg[26];
This is STILL wrong.
void setup()
{
digitalWrite(2, HIGH);
attachInterrupt(0, alarm, RISING);
delay(1000);
Ethernet.begin(mac);
// or you can use DHCP for autoomatic IP address configuration.
// Ethernet.begin(mac);
Serial.begin(9600);
void loop()
Curly braces are NOT optional and not wherever the heck you feel like putting them.
The compiler is right. You DO have stuff before the if statement that doesn't belong there.