PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved
joseph-granieri

Jan 19th, 2018 11:19 PM

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

joseph-granieri

Jan 19th, 2018 11:40 PM

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

mark

Jan 25th, 2018 11:47 AM

Can you please share your code?

joseph-granieri

Jan 25th, 2018 08:47 PM

the code i used is the one you did in the video all i changed was the name from users to mine

mark

Jan 26th, 2018 11:04 AM

Please link the video

joseph-granieri

Jan 26th, 2018 12:36 PM

https://devdojo.com/episode/create-a-php-login-script

mark

Jan 31st, 2018 10:01 AM

Does it work if you use this code? If not, please share the error.

NOTE: One error is this, I posted a fix there.