Register and Login System using Angular 8, PHP and MySQL

preview_player
Показать описание
The steps of this tutorial is given in the following link:
Рекомендации по теме
Комментарии
Автор

Hi bro this project am convert Cordova app. after installed my phone but registration form value not insert phpmyadmin. pls guide me

saiprakash
Автор

How do I reference an sql file in my directory under src? I want to create my sql table from phpMyAdmin and then download the sql table to my src file and then hookup my data through that. How would I go about doing this?

ConnorThomas
Автор

i really need help, do you know how i can display the data im getting from php in angular???

please thanks!

einyell
Автор

I did the same as you. Everything works except login. The login and password from the database cannot be logged in and I have no idea why ....

skfgwf
Автор

Values not added in database And when i m trying to login its showing me error like incorrect password and username

purvarajeshirke
Автор

IT WORKS!!!! FINALLY!!!
2 Errors you might come across that I had to solve:


Solution: You MUST place your angular app folder in the htpdocs or www folder under wamp64 or wamp folder on C drive. Otherwise it looks like a foreign source is trying to access your api which should be blocked. This way your database, back end, and front end code are all under the same system and can recognize internal calls.

2. Register button not putting new entries into database (but login still works with manual db entry)

Solution: If you created more fields in your database than what he shows (id, name, password, email) then you MUST set their default value in your database. You can set them to NULL if you plan to update it later, but the web request made by register.php only submits name, email, password. If the defaults are not set then the code wont add a new user.

You can test your php requests by going to SQL in phpmyadmin and then pasting in the code from register.php

"INSERT INTO users(name, password, email) VALUES ('testname', 'testpassword', 'testemail')"

You will receive an error if you have fields without default values.
Hope this helps!

ianmccleary
Автор

i do not have the folder e2e is that okay ?

aligulatas
Автор

Hi, I followed the steps in my project but I got an error(NodeInjector: NOT_FOUND [ControlContainer]) that is not being solved by the help of google articles. I have imported bootstrap CSS too but it is not solved. Can you please help me to resolve it?

nikitavijay
Автор

Register component is work but login is not work, I'm submit email and password is right but alert massage show ( user name and password is incorrect )

jayeshchaudhari
Автор

that such a friend I got a single error that when I want to register I do not get anything, can you help me please

juancarlosmarcallaaymacana
Автор

Hello mam ... Mam my registration and login button is not working pls help pls

purvarajeshirke
Автор

i am getting this error :-
please help

AjeetYadav-dgto
Автор

Your video friend was great, it was very helpful

Dani_villas
Автор

gracias amigo me fue de mucha ayuda el codigo

xkiller
Автор

I also did the same as you. Everything works except login. The login and password from the database cannot be logged in and I have no idea why please help me madam ...

CodeWithJamil
Автор

subscribed but login can could be either email or contact numbet right

RamuRamu-jpyy
Автор

Type 'undefined' is not assignable to type 'boolean'.

15 return this.isLogin(routeurl);
Can you just tell me how to clear this??

saiharithas
Автор

hello
can you please tell me how to connect mylittleadmin with angular

mukarramali
Автор

Not all code paths return a value.ts(7030) bro authguard.guard.ts 19.line error pls solution bro

Manoj-kumar
Автор

can you help me, I am a beginner and I have had this error for a couple of days. I worked from the beginning of the project and each time these two errors occur. I can't find a solution on the internet ... thank you




- I used all the steps, I know this was supposed to be solved in step 4 but it didn't reappear. Do you have any idea how I might otherwise handle this?

melisabegic