You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice code! I found a smaller issue in the shortenedurls.sql, LINE 25 reads: PRIMARY KEY (pkId). MySQL will throw an error: [Err] 1072 - Key column 'pkId' doesn't exist in table. It should read PRIMARY KEY (pkUserId).
One more thing: Your register method doesn't check if the user (email) already exists, which means a user can open multiple accounts with the same email address.
shorten.php will need to be modified to reflect these changes.
The text was updated successfully, but these errors were encountered: