i connected pin 6 of arduino instead of 11 to enable pin of LCD, similarly 7 instead of 12 to RS of lcd..
and changed the same in program [ LiquidCrystal lcd(7, 6, 5, 4, 3, 2); ]
but it don't work sometimes properly, there can't be connection problem since i etched it...
is this due to changing of pins?
is it necessary to use 11 and 12 pins only?
The changing of the pin numbers is not the cause of your problem. You can use any available I/O pin for any of the required LCD connections as long as you also change the parameters in the argument of the LiquidCrystal LCD statement as you have done.
When you laid out your pc board did you remember to connect pin 5 of the LCD to GND?
There's not much more we can do for you until you provide more information.
Since you say the LCD is working fine, and since the LiquidCrystal library is known to work, that kind of pins it down to the interconnections between the LCD and your Arduino. You claim the connections are OK "since i etched it" but has anyone checked that the etchings go to the correct places?
When you say "but it don't work sometimes properly" what do you mean by sometimes?