Login and Registration will be performed using Role id

142 viewsandroid java
swanand joshi | 12 xp

Hello Ravi,

I want to set role_id for admin and user

  1. if person is login as admin it should pass 1 else 0 as nomal user
  2. I want to perform with APIs in PHP and SharedPreferences using Android. How can  I get this ? Can You please email me the complete code for PHP and Andoid that will be the great help .