- First you build a controller and a model
- after building these things import the model inside the controller
- After this get access your controller in view
- you can able to access the data inform of json in HTML view
Now suppose you want every starting letter of the name to be Capital then you can do this by modifying it inside model
- Open Model (name - Member )
- ucFirst($value) will capitalize first letter of the name Attribute
If you want to add some string with your address column inside the table then you can do like