Need Help With Rfid Recognition Code

Hey, I am new to Arduino and could use some help with my coding. This is my first project. It is an Rfid Relay Switch which logs the time the user scanned in and turns the relay on to power the computer, then the user would scan out to turn the relay off. But I can't get past my Rfid test code. It's supposed to recognize a card and blink an led then Serial.print the users name.

Here is my Code:

#include <string.h>

char* val = 0;

int ledPin = 13;

boolean ID_Correct;

char Tin[] = {'6','7','0','0','7','2','5','9','D','F','9','3'};

char Roger[] = {'6','7','0','0','7','3','F','0','1','4','F','0'}; 

char Rich[] = {'4','5','0','0','5','2','C','6','6','4','B','5'};

char Jim[] = {'4','5','0','0','5','2','B','A','9','4','3','9'};

char Zimmer[] = {'4','5','0','0','5','2','F','D','F','3','1','9'};

void setup()
{
  pinMode(ledPin,OUTPUT);
  
  Serial.begin(9600);
  
}

void loop()
{
 if(Serial.available() > 0) {
 val [0] = Serial.read();
   
   if((strcmp(Tin,val)= 0))
   {
     Serial.println("Tin");
     digitalWrite(ledPin,HIGH);
     
     delay(5000);
     
     digitalWrite(ledPin,LOW);
   }
 }
   
   else if(strcmp(Roger,val) == 0)
   {
     Serial.println("Roger");
     digitalWrite(ledPin,HIGH);
     
     delay(5000);
     
     digitalWrite(ledPin,LOW);
   }
   
    else if(strcmp(Rich,val) == 0)
   {
     Serial.println("Rich");
     digitalWrite(ledPin,HIGH);
     
     delay(5000);
     
     digitalWrite(ledPin,LOW);
   }
   
    else if(strcmp(Jim,val) == 0)
   {
     Serial.println("Jim");
     digitalWrite(ledPin,HIGH);
     
     delay(5000);
     
     digitalWrite(ledPin,LOW);
   }
   
    else if(strcmp(Zimmer,val) == 0)
   {
     Serial.println("Zimmer");
     digitalWrite(ledPin,HIGH);
     
     delay(5000);
     
     digitalWrite(ledPin,LOW);
   }
   
   else { Serial.println("Wrong Card");
          Serial.println("Try Again");
   }
   
 }

Here are my errors

RFid_relay_Timelog.ino: In function 'void loop()':
RFid_relay_Timelog:30: error: expected primary-expression before ']' token
RFid_relay_Timelog:32: error: lvalue required as left operand of assignment

I don't know how to fix it.
Any help would be awesome.

What is at line 32?

This?

   if((strcmp(Tin,val)= 0))

You compare with "==" not "=".

RFid_relay_Timelog:32: error: lvalue required as left operand of assignment
                   ^^
                line number

The error message gives you a clue about where the problem is.

Now it's saying

RFid_relay_Timelog:30: error: expected primary-expression before ']' token

Am I supposed to leave the val bracket blank?

void loop()
{
 if(Serial.available() > 0) {
 val [0] = Serial.read();

Thanks for the error line number advice. Never noticed it.

I copied and pasted your code and after changing = to == it compiled OK.

What version of the IDE are you using?

I am using Arduino 1.0.4. I see what I did wrong. I erased the 0 in val bracket by accident.

 val [0] = Serial.read();

Thanks for helping me.