0

my code enter image description here

the error enter image description here

I'm getting undefined error but its working. hope someone point out my mistake

JNevill
  • 46,980
  • 4
  • 38
  • 63
  • If you could instead copy and paste your code as text. Once pasted, highlight what you pasted and click the `{}` button in the editor to preserve line feeds and white space. This way we don't have to transcribe text from the picture if we want to replicate on our own machines. – JNevill Sep 15 '22 at 20:06
  • 1
    what do you get when you debug $_POST? – Lawrence Cherone Sep 15 '22 at 20:09
  • 1
    Do you ever access `login.php` without a `POST` request, e.g. as a sign-on page? You didn't check for the existance of those keys before trying to grab them, hence the (potential) error. – Rogue Sep 15 '22 at 20:13

0 Answers0