'getID' was not declared in this scope

the new post is at bottom.

Please read "Read this before posting a programming question" at the top of the forum.

I already see the problem in your code, but I want you to post it correctly first. I could be wrong, but I really doubt it.

i dont know how to get it correct please help

dtdtdrytdty:
i dont know how to get it correct please help

Read this: Read this before posting a programming question ... -- Note the clever title. What does it tell you?
Pay particular attention to Item #6.

what is item #6

dtdtdrytdty:
what is item #6

Read it and you'll know.

Sorry this is what i should have said

The error i got when coding this was "'getID' was not declared in this scope"

#include <SPI.h>
#include <MFRC522.h>
#include <LiquidCrystal.h>
#include <Servo.h>
#define RST_PIN   9
#define SS_PIN    10
byte readCard[4];
char* myTags[100] = {};
int tagsCount = 0;
String tagID = "";
boolean successRead = false;
boolean correctTag = false;
int proximitySensor;
boolean doorOpened = false;
// Create instances
MFRC522 mfrc522(SS_PIN, RST_PIN);
LiquidCrystal lcd(2, 3, 4, 5, 6, 7); //Parameters: (rs, enable, d4, d5, d6, d7)
Servo myServo; // Servo motor
void setup() {
  // Initiating
  SPI.begin();        // SPI bus
  mfrc522.PCD_Init(); //  MFRC522
  lcd.begin(16, 2);   // LCD screen
  myServo.attach(8);  // Servo motor
  myServo.write(10); // Initial lock position of the servo motor
  // Prints the initial message
  lcd.print("-No Master Tag!-");
  lcd.setCursor(0, 1);
  lcd.print("    SCAN NOW");
  // Waits until a master card is scanned
  while (!successRead) {
    successRead = getID();

Can anyone help?

Possibly.

But I think they may need to see more than just a snippet of your code. Or is it Top Secret?