php register
i have everything working but once i add one email and password it wont let another person register how do i fix that
i used the video you made for php login to make my sites code
array(3) { [0]=> string(5) "23000" [1]=> int(1062) [2]=> string(37) "Duplicate entry '0' for key 'PRIMARY'" }
thats what i am getting when i do var_dump($stm->errorInfo()); before the else message
the code i used is the one you did in the video all i changed was the name from users to mine
https://devdojo.com/episode/create-a-php-login-script