8. Android PHP MySQL Tutorial | Adding Unique Email and Username Condition

preview_player
Показать описание
Here is a Complete Step by Step Android PHP MySQL Tutorial. This tutorial will cover all the basics of connecting Android Application to MySQL Database.

In this video we will add Unique email and username constraints. And our application will not accept duplicate username or emails from now.

Go to the next video from this link

And you can get the source code from these links

For more tutorials visit:
Рекомендации по теме
Комментарии
Автор

best tutorial for android databse !! thank you very much sir

madgamer
Автор

Best tutorial for php and mysql for android thank you

oussamaelbaz
Автор

thanks a lot I really feel helped with the tutorial you created, I hope one day can be as good as you

abdulrosid
Автор

Seus videos são ótimo, estou conseguindo desenvolver aplicações utilizando seus métodos, agradeço por disponibilizar seu conhecimento.

MatheusComaru
Автор

thanks for helping me to learn about android.. can you help me if i still don't understand?

faqeehsvarga
Автор

I have entered the code manually, as well as copying and pasting from your code. In both cases, I am getting a similar problem to the other posted problems. I get a Toast message, but there is nothing in the Toast, and it is not allowing me to add records to the database. If you have any suggestions, they would be appreciated. Other than that, your videos are great, and thanks for the time and effort you spent putting them together!!!

kruisink
Автор

if input an empty username it will inputed to the database, how can i fix it?

mivanhanifv
Автор

I am getting the json exception as "value of <br of java.lang.String cannot be converted to JsonObject"

amoghsharmoniumcovers
Автор

what about assigning unique id by taking the email string from user or his mobile number?

jaa
Автор

I created app using my own server. Everything is fine but when i enter same user registration details it show null in postman and no toast message in android app i am waiting for your reply.

dhmilmile
Автор

Hi, i've got a problem when adding the code to delete duplication, my app doesn't add users in database anymore.

nosif
Автор

I do this step but stil am not get the second message when I click second time, so what is the problem and from where I can copy the coding to avoide the mistake

malsulaimi
Автор

Sir, I have a problem. When the fields are empty, the addition is done in the database.
I wrote well as you did. Help please

brice-kevin
Автор

I have a weird problem, I hope you answer me and help me, recording works perfectly, but I want an email is sent, so I put a line test code to send the email, I put it just after printing: Registration successful in the 'registerUser.php' file, but the data are sent twice, once recorded but also shows me the error: the username and email already exists, help please, if I put only sending mail or where should put?

victorrosario
Автор

If we don't enter any values in the edit texts in our app then the isset function in php must return false and the toast u gave"required fields are missing" should get displayed right? Everything is working except this one.please do help thanks :)

srirammohan
Автор

Notice: Undefined variable: pass in on line 26
{"error":false, "message":"User registered successfully"}




I`m getting that error sir everytime I register and save and no JSONOBJECT for result == 1 .. but the other result like the JSON MESSAGE is displaying .. except for the message for result 1 .. Please help ..

jenniebabe
Автор

There's no toast message in android when I clicked register button, please fix this.
But the data saved in database.
The only problem in this tutorial is that there's no toast message in android. I tried a lot of things to fix this but it's not working.

Everything will be neglected at part 8 to 14 because of that error.

Please fix this.

marvinbarboza
Автор

Hi! i am getting a problem here, in my android app i am not getting any response ... checked it using postman and getting this error "Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in on line 20" please help

srcsameer
visit shbcf.ru