Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

add field data table not showing on client #3

Open
ubaidillahumar opened this issue Aug 24, 2017 · 0 comments
Open

add field data table not showing on client #3

ubaidillahumar opened this issue Aug 24, 2017 · 0 comments

Comments

@ubaidillahumar
Copy link

hai arjunsk, thank you for your great apk Ionic Shopping Cart ( MySQL), i try to add data on field database hosting table user with field status, after that I add the code user-details on hosting as

$query="SELECT u_name, u_id, u_phone, u_address, status, u_pincode FROM users where u_verified=1 and u_id like '".$username."' and u_password like '".$password."'";

and I add code on controller :
$scope.loggedin_name= sessionStorage.getItem('loggedin_name'); $scope.loggedin_id= sessionStorage.getItem('loggedin_id'); $scope.loggedin_phone= sessionStorage.getItem('loggedin_phone'); $scope.loggedin_address= sessionStorage.getItem('loggedin_address'); $scope.loggedin_status= sessionStorage.getItem('loggedin_status'); $scope.loggedin_pincode= sessionStorage.getItem('loggedin_pincode');

and on profile.html :
<label class="item item-input"> <span class="input-label">Status</span> <textarea placeholder="" readonly > {{" "+loggedin_status}}</textarea> </label>

but data not showing, what is wrong? thanks you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant