Click here to Skip to main content
16,004,678 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi Guys I am working on Android project and in this project, my client requirement is if user send email so email no will generate on every email so I want to select AI column value from MySQL and insert on button click with +1 please guys help me guide me
I will really thankful to you, please.

What I have tried:

Hi Guys I am working on Android project and in this project, my client requirement is if user send email so email no will generate on every email so I want to select AI column value from MySQL and insert on button click with +1 please guys help me guide me
I will really thankful to you, please.
Posted
Updated 28-Jan-18 23:01pm

1 solution

You can use an AUTO_INCREMENT field to generate unique id values. Check the MySQL documentation for details.
 
Share this answer
 
Comments
Member 9983063 29-Jan-18 17:58pm    
would you please guide me how can i do that
David Crow 29-Jan-18 22:40pm    
Try reading here.
Richard MacCutchan 30-Jan-18 3:55am    
Check the MySQL documentation for details.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900