NFC based attendance system with Arduino Uno, Ethernet Shield and Adafruit PN532

Is your database set up to require unique entries for the student_id column?

Why is every tag scanned considered the same student?