programming error

I am making project of interfacing gsm with arduino uno and displaying 9t on lcd but msg are not display please help need to submit project by friday plssssss

#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
int lenth,lenth1,i=0,temp;
char str[100];
char name[25];
void setup()
{
lcd.begin(16,2);
Serial.begin(9600);
}
void loop()
{
lcd.setCursor(16,0);
lcd.print("project on display");
Serial.println("AT+CNMI=2,2,0,0,0");
delay(100);
lcd.setCursor(16,0);
while(1)
{
for(int j=0;j<400;j++)
{
serialEvent();
delay(1);
}
if(temp==1)
{
i=0;
lenth1=0;
lcd.setCursor(0,1);
while(i<lenth)
{
if(str_=='*')_

  • {*
  • i++;*
    _ while(str*!='#')_
    _
    {_
    _ name[lenth1]=str;
    lenth1++;
    i++;
    }
    for(lenth1;lenth1<25;lenth1++)
    {
    name[lenth1]=' ';
    }
    }
    i++;
    }
    lcd.setCursor(16,0);
    delay(10);
    lcd.print(name);
    temp=0;
    lenth=0;
    }
    lcd.scrollDisplayLeft();
    serialEvent();
    delay(1);
    }
    }
    void serialEvent()
    {
    while (Serial.available())
    {
    char inChar = (char)Serial.read();
    str[lenth]=inChar;
    lenth++;
    if (inChar == '\n')
    {
    temp=1;
    }
    }
    }*_

Because you did not put your program in code tags the forum software has mangled it. Unless, of course, the bottom half of it is meant to be in italics.

Read Read this before posting a programming question ... - Programming Questions - Arduino Forum and follow the advice given.